Click here to Skip to main content
15,891,136 members
Everything / Programming Languages / Java / Java SE

Java SE

JavaSE

Great Reads

by Prasad Khandekar
A dropline menubar control tag library for JSP.
by Ata Amini
Implement Gauss-Newton algorithm in Java to solve non-linear least squares problems; i.e. to find minimum of a function.
by Afzaal Ahmad Zeeshan
This article discusses Android programming and aims at teaching you about Android programming for Camera and Widgets.
by Zac Gery
In the world of enterprise development, interacting with a database can become a daily occurrence.

Latest Articles

by Dmitriy Gakh
An introduction to Genetic Algorithms with brief reference to biology and example of finding one solution for complex mathematical equation
by User 257328
Demonstrates how to call ASP.NET webservices from the client within other languages and platforms
by Ata Amini
Implement Gauss-Newton algorithm in Java to solve non-linear least squares problems; i.e. to find minimum of a function.
by Prasad Khandekar
An INI file manipulation class with support for environment variables

All Articles

Sort by Score

Java SE 

3 Jan 2013 by WebMaster
Hi aminov,I am not sure I can help you so much as you expect.For your system requirement, I have some ideas to share:+ There are two parts you need to develop: Web portal and Mobile App. And both of them must be interacted together absolutely.+ With web portal module, you can use some...
2 Jan 2013 by WebMaster
Hi sistlachetan,I think firstly, u should catch up how Java can interact(read/modify..) with doc/ppt/pdf/xls files.For this point, I recommend reserching on Apache POI[^]"The Apache POI Project's mission is to create and maintain Java APIs for manipulating various file formats based...
5 Mar 2013 by Prasad Khandekar
A dropline menubar control tag library for JSP.
13 Mar 2017 by Ata Amini
Implement Gauss-Newton algorithm in Java to solve non-linear least squares problems; i.e. to find minimum of a function.
5 Dec 2015 by Afzaal Ahmad Zeeshan
This article discusses Android programming and aims at teaching you about Android programming for Camera and Widgets.
8 Jul 2011 by #realJSOP
This should explain it[^]
28 Mar 2010 by Christian Graus
"I'm not here to rob i really tried but time duration is very less...i even tried to pay for job people they couldnt.. and these things i'm doing is for 1st time..wat to do i'm helpless"I understand what your situation is. What you need to do, tho, is tell your client you lied to them. ...
28 Jun 2013 by Zac Gery
In the world of enterprise development, interacting with a database can become a daily occurrence.
15 Feb 2017 by Corinna John
Fun with code and yarn
22 Feb 2009 by Ponnurangam D
BlackBerry Java application development using Visual Studio.
16 Apr 2009 by MiamiCoder
How to create a real-world BlackBerry application.
11 Jun 2010 by CPallini
saivijayalaksh...
28 Jun 2010 by Cedric Moonen
You'll never get any satisfactory answers because your question is so vague that nobody will be able to reply.You need to cut your problem into pieces and ask specific questions. What have you already done ? It seems nothing because you didn't even choose a language.First thing to do is...
30 Aug 2010 by paladin_t
Use Twiggery as JavaME Game Scripting Language
17 Apr 2011 by Fadi Hania
This is a J2ME beginner article that describes how to add different J2ME components to your application especially StringItems and Commands.
8 Jul 2011 by Christian Graus
1 - please don't press 'answer' to add comments. There's a comment button, see it ? Second, you shouted when you typed all in capitals. That's what was meant, THIS IS SHOUTING. Third, you listed just about every sort of language known to man, that's not a sign that you have any knowledge,...
2 Sep 2012 by Prasad_Kulkarni
Refer: USING THE ADVANCED ENCRYPTION STANDARD IN ANDROID[^]Secure AES encryption and decryption in Android[^]Encrypt/Decrypt Strings[^]
5 May 2015 by Jitendra_Jain04
IBM WebSphere Application Server V8.5 Liberty profile is a flexible and dynamic server profile of WAS which enables the WAS server to deploy only required custom features instead of deploying a big set of available JEE components.
25 Sep 2015 by Afzaal Ahmad Zeeshan
No, if that is your homework you need to do it yourself. We won't provide any code unless you show us what you did and where did it get your stuck. Here is the algorithm, https://en.wikipedia.org/wiki/Eight_queens_puzzle[^] (See solutions) and you may want to have a look at a few PDFs provided...
1 Jul 2022 by 0x01AA
***Warning*** This is my first java application after a crash course today. Take care, it is a.) inefficient b.) no naming conventions c.) simply fast and dirty But it shows the at least the steps how to build a sine sound. I have also cross...
16 May 2008 by Layer 7 Technologies
Discuss XML and Web services-specific security challenges and presents the limitations of an SSL or sole XML Firewall solution. Outlines the attributes of an ideal Web services security solution.
25 Mar 2010 by Mustafa Ismail Mustafa
Where are you stuck? Planning? Development? Do you have any specific questions?
10 Jun 2010 by Dalek Dave
Please use standard English when posting, not textspeak.
10 Jun 2010 by #realJSOP
saivijayalaksh...
24 Aug 2010 by Peter_in_2780
One simple way (which may not be very elegant, depending on how you have written your midlet): When you create your canvas, do it something like this:in your Midlet, pass a reference to the Midlet itself to your Canvas constructor:MyCanvas theCanvas = new MyCanvas(this, ...);in the...
2 Apr 2011 by OriginalGriff
Need to purchase VS .NET: no. there is an Express edition: http://www.microsoft.com/express/Web/[^]MsSQL server license: no. You may have to if you upscale it later, but I've never been charged for MsSql use on my website: the hosting company is.If you can use MsSql rather than MySql, I...
10 Apr 2011 by OriginalGriff
Nokia would be a good place to start: http://wiki.forum.nokia.com/index.php/User-Agent_headers_for_Nokia_devices[^] - looks like CLDC-1.1 as CDC is not mentioned.
10 Apr 2011 by markkuk
As far as I know, all mobile phones are CDLC/MIDP devices (if they support Java at all). You should be able to find the supported version from the phone menu, try Menu->Help->About.
12 Apr 2011 by Richard MacCutchan
Judging by your question(s) you need to spend some time researching the structure of games programs (and probably Java). Try a Google search for "j2me games", look at the J2ME[^] web site, and the CodeProject articles.
8 Jul 2011 by CPallini
I suggest you to choose a project that you may reasonably complete yourself. You know, it should show your bright side.
9 Jul 2011 by Sergey Alexandrovich Kryukov
I don't how see "Online tutor" can be related to "Internet security". If this is a Web application and you going to serve your own content (content hosted on your site), there won't be a problem with security. Also, it is irrelevant to computer language.Combination of the tags in your...
10 Jul 2011 by Espen Harlinn
Well, Java/Java EE[^]/JavaFX[^] has a lot of features you will find useful - so I think it's a good choice for an interactive "online tutor" project. And even while we may hate to admit it, JavaFX[^] currently has more visualiztion features than SilverLight, but that probably isn't going to last...
23 Aug 2011 by #realJSOP
Try Monster [^]. There are hundreds, nay, thousands of qualifed developers there looking for gainful employment. You would probably need to log on as an employer.
28 Oct 2011 by Richard MacCutchan
Can i develope this project ????.Is it already exist???You keep posting with these two questions; as I explained earlieryes you can if you have the skills.use Google to discover if this application already exists.
26 Nov 2011 by OriginalGriff
We are unlikely to give you any help that would give you the opportunity to copy the work of others: it could well be someone here that originally wrote the code, so why would we help to give it to you? At best, that would be copyright infringement, at worst outright theft.Try looking at...
2 Jan 2012 by CPallini
Yep, it has. See, for instance: "Static Variables, Static Methods and Static Constructor"[^].
18 Jan 2012 by rohitVasu
jQuery DataTables and J2EE web application integration[^]Hi,The above link have a example for Jquery DataTable.In that they have loaded records to the table through list at a time. And when we click on next button it will display next 10 or 20 records.But i'm looking a code like i...
8 Aug 2012 by Philip Stuyck
The sscanf format specifier is clearly to get some ipv6 ip addresses.They don't have 2 in6_addr but 4 variables of that type. l identifies a local address and r a remote address. The swap address is used to change the order of the local and remote ip adresses for whatever reason. Might be that...
21 Sep 2012 by Mehdi Gholam
If you are using SQL Server try using Bulk Insert...
4 Dec 2012 by MohsenSaleh
hi allwhat is wireless messaging api? and where i can download it?
14 Feb 2013 by Biswas, Sumit
Command Line Interface (CLI) Performance Testing using java
12 Jan 2016 by John Jiyang Hou
An algorithm to determine if a point is inside a 3D convex polygon for a given polygon vertices in Java
3 Jun 2016 by Yaseer Mumtaz
This small tip will help you to save email with attachment in Outlook's draft folder using Java programming language.
9 May 2016 by Phuong Thanh Nguyen
The programs are for sending and receiving emails
16 Jun 2022 by CPallini
Quote: Scanner s=new Scanner(System.in); int n=s.nextInt(); int x=s.nextInt(); int y=s.nextInt();//
27 Jun 2022 by 0x01AA
The pragmatic approach ... ... as soon this works one can think about to optimize it (e.g. loops instead of creating 10 Seconds of the same shape, stereo, etc.). You like to play a sinus- sound: Duration : [Sec] SampleFrequency : [Sample...
12 Aug 2001 by Kyle Morris
How to create a wrapping and/or multiline label in AWT
2 Jun 2009 by Prentice_Hall
As the preface hints, JavaFX has a combination of features that makes it unique. This chapter gives you a taste of the language and some of these features.
16 Jun 2009 by .Shoaib
Speed up object serialization in Java.
30 Nov 2009 by Richard MacCutchan
Try Google search for Java Media Player - lots of samples there.
2 Dec 2009 by AspDotNetDev
Well, the URL has a semicolon where it should have a colon. That could be a problem.http;//Should be.http://Also, the web services I work with typically have an extension in the URL, but that could just be because I work with Microsoft technologies. For example:NWSSService?wsdlWould...
10 Dec 2009 by Rick Shaub
A hashtable will grow as new key, value pairs are inserted. What you are specifying in the constructor is an initial capacity and a load factor (which specifies how full the HashTable gets before increasing it's capacity). The load factor should never be higher than 1.0 . You probably don't...
11 Dec 2009 by Rick Shaub
@jazzy" load factor (which specifies how full the HashTable gets before increasing it's capacity)."An example:Start with an initial capacity of 10 and a load factor of 0.75 . If you add 10 elements to the HashTable, the first 7 just compute a hash and add the element to a bin. ...
19 Dec 2009 by 0x3c0
This isn't a homework site. If you want source code, then use Rentacoder. If you've already got the foundations of the mailing system, then you need to ask specific questions related to any problems you have.
11 Feb 2010 by emailme.friend
Hello,I am trying to implement AutoCompletion / Inline Text Editing features using J2ME Polish for one of our applications. I would appreciate if I could get some hints / pointers to enable the same.My development platform is JRE 1.6 with NetBeans 6.8, utilising J2ME-Polish-2.1.2...
18 Jan 2010 by Christian Graus
Please edit your post to add detail, don't post a fake 'answer'. I can't see your post now and I'm trying to reply to it.If you don't know how to do this, then you have a lot of work ahead of you. No way is any forum reply going to give you much info. Your teacher said yes, that doesn't...
14 Mar 2010 by nishantsagar83
hi,c if this link helps...http://j2mesamples.blogspot.com/2009/02/database-connection-using-j2me.html
17 Mar 2010 by Smithers-Jones
Please don't ask for source codes or complete programmes here on Codeproject. If you have any specific problems, people will help you, but nobody is going to give you a complete programme
25 Mar 2010 by Smithers-Jones
uday sharma wrote:if any body have like this simple application please give me linkWell, if it is that simple, why can't you do it yourself? Shouldn't be a problem at all...Or do you have a specific problem, other than the simple task "how to make a multiplayer online game..."? Maybe if...
28 Mar 2010 by Christian Graus
No - you should talk to your teacher and let them know you have no idea how to do your project, or tell your client that you were trying to rob them and give their deposit back.This is a complex task, that you even think that a forum reply could solve this issue is an indication of how wrong...
23 Apr 2010 by Abhinav S
parveenkumar00...
23 Apr 2010 by Nasir M@hmood
The Best way learn any thing is Read About it and then apply it without delay,start from easy and go through hard. U should start "Complete Reference to Java" a very good book
2 May 2010 by DaveAuld
Corinna John has created a who series of articles relating to steganography, suggest you go read these;http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=475133[^]
31 May 2010 by Richard MacCutchan
I doubt that anyone will be able to guess what this means. Please try and explain exactly what you are trying to do. If your program is receiving an error code or exception then tell us what the value is and what line of code is causing it.
5 Jun 2010 by Sandeep Mewara
Deepak 6 wrote:PLZ GIVE THE CODE AS EARLY AS POSSIBLE1. CAPS means shouting. Please dont use it next time. 2. Tone down yourself. Don't be so demanding. People here help in their free time, you need to keep patience.Deepak 6 wrote:Can You give me the codeDon't expect/ask for code...
28 Jun 2010 by Sandeep Mewara
Fine. Go ahead and create it. Hope you have read the rules of posting questions here. It's a Quick Q&A. Further, you need to put some effort, post your issue and people would be more than happy to help you. I would suggest you to do some groundwork, use Google, talk to your...
6 Jul 2010 by #realJSOP
Sounds like you haven't tried hard enough to find the problem. Is there a debugger available for Java/Eclipse? There's really no way we can help you without a LOT more info. And if you decided to provide more info, edit your original message (use the big green text that reads "Improve Question".
9 Jul 2010 by husseinx
import java.sql.*;public class Main{ private static final String accessDBURLPrefix = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ="; private static final String accessDBURLSuffix = ";DriverID=22;READONLY=false}"; // Initialize the JdbcOdbc Bridge Driver ...
11 Jul 2010 by LloydA111
Why is it unsuccessful? What errors does it produce?
20 Jul 2010 by kate_lee
come on!!!!I found some samples at below link! use it!https://www.ibm.com/developerworks/...[^]
1 Apr 2013 by hoonzis
How to extend the detail page of a company by adding a list of products of the company and a drop down list box, which will allow a user to add a new product to the list of the products of the company.
8 Aug 2010 by Estys
"\\". the single \ character is an escape character.Cheers
8 Aug 2010 by E.F. Nijboer
You should use the correct encoding to get the text in the correct form. You can't simply take the raw bytes and display them without encoding them first...String unicode = new String(bytes, "Cp866");Have a look at the supported...
12 Sep 2010 by Peter_in_2780
The problem starts with the two variables called g. The one in paint(Graphics g) is transient, and can only be used inside this call to paint. [See this quote from the JSR-118 help for Canvas.paint():Operations on this graphics object after the paint() call returns are undefined. Thus, the...
16 Sep 2010 by E.F. Nijboer
For this you could use use the SwingUtilities invokeLater() or invokeAndWait() method. The trick is that you can do all the loading and drawing in a thread but drawing onto the user interface can only be done from the UI thread itself. The link will give you more info and...
18 Sep 2010 by GeniusMchlahla
To the best of my knowledge a MIDP .jar file is an MIDP .jar file. A friend of mine wrote an app using Eclipse, and it ran on his touchscreen Samsung. It also ran on my S60 series Nokia. I have written applications in Netbeans, and they have ran on a multitude of different phones. The prime...
6 Oct 2010 by #realJSOP
Well, armpit, this looks like something you've got to do for school. Is that right? Why in the world would you do a project like this if you don't have the skills necessary to pull it off on your own?
10 Nov 2010 by GPUToaster™
It shows you haven't opened the Java Documentation. Anyways the following is the way to implement MD5 Message Digest. Hope it helps.import java.security.MessageDigest;....etc.String senc = "String to encode";byte[] sencBytes = senc.getBytes();try{ MessageDigest algorithm =...
19 May 2012 by hoonzis
This is a short post describing how to implement a simple tool to manage CORBA Naming Service.
27 Dec 2010 by Sandeep Mewara
Did you try Google search[^]?If you would have tried, then you would had links like these:Apriori Algorithm[^]Apriori Algo details[^]
9 Jan 2011 by Espen Harlinn
Try posting java related stuff here (OTN):Forum Home >> Java Desktop >> Swing [^]RegardsEspen Harlinn
28 Jan 2011 by OriginalGriff
All that is wrong is that you need another "else" clause. At the moment:if((a>b)&(a>c))If it passes, then you set t4 to indicate.But then you set t4 again either to show 2 is greater, or 3 is greater.Add another else:if((a>b)&(a>c)) { t4.setText("no.1 is GREATER"); }else ...
12 Feb 2011 by Richard MacCutchan
Here is a clue: start with this[^] and when you have an actual programming problem come back and post your question.
12 Feb 2011 by Nagy Vilmos
Additionally to Richard's answer, if you split the problem into it's distinct parts it becomes really easy.0. Entry of a string.1. Encryption.2. Sending an SMS.All three have been done before and so your problem becomes a case of glueing it all together.
15 Feb 2011 by Addison-Wesley
This chapter gives you a better understanding of what Flex is, both as a technology and as a development environment (Flash Builder).
24 Mar 2011 by Guyverthree
The first place to start is on the android website as John Simmons said They have a guide there to help you through the simple hello world application and a few others...http://developer.android.com/resources/tutorials/hello-world.html[^]This will make sure that you have Setup...
2 Apr 2011 by Tech Code Freak
I want to make my own website and buy hosting.I want to decide on which platform should I make my website. JAVA(EJB/Advanced Java) or .Net(C#) being the Front End and MS SQL Server or MySQL Back End.I want help regarding whether I need to purchase licensed Visual Studio .Net for .Net...
2 Apr 2011 by ZeeroC00l
Did you try running it from the Command prompt using java -jar filename.jarAnd if you want to use this application you have developed in a mobile then the way you are running it is wrong. MIDP application neither contains main class nor can can be run on Java SE. Take a look at...
11 Apr 2011 by Manfred Rudolf Bihy
Hello Ravindra,the algorithm you are naming in your question does not exist. It may be that you intended to ask about the "Canny Algorithm" which is about edge detection and you can read some about it here: http://en.wikipedia.org/wiki/Canny_edge_detector[^]. If you want an implementation...
12 Apr 2011 by E.F. Nijboer
You can use images but because you are a newbie I wouldn't focus to much on that. Simply draw rectangles of different colors for now. The same goes for being able to show it in full screen, but here you should mind scaling. The easiest way is to define the play field as little blocks (which can...
7 May 2011 by Sergey Alexandrovich Kryukov
Technically speaking, all you need to work with class members shared by two or more thread is lock. Please see:http://download.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/locks/Lock.html[^].This task is interesting by the reason not directly related to the techniques of thread...
10 May 2011 by Marc A. Brown
Either instantiate the JTextArea using the constructor that accepts a Document as a parameter or use the setDocument method to provide a document model (such as HTML) that will allow you to do fancy formatting.Here is a link[^] to the documentation for Document. It should provide a starting...
1 Jun 2011 by erwrwrwr
Your Customer and Bank Classes Should Implement the interface IEnumerable.For each works with the class which implements IEnumerable, IEnumerable, IList, IList etc.
26 Jun 2011 by Richard MacCutchan
Start here[^], for all Java classes. I'm not sure about sharing variables between classes (assuming you mean independently running) but I'm sure you can pass parameters when you exec a new class.As to posting code, that, I'm afraid, is your responsibility.
27 Jun 2011 by Sergey Alexandrovich Kryukov
There is no such concept as "run Java class" — you always run a method. There is no such thing as "equal variables". There is a concept of assignment of one variable to another or comparison of tho variables: if they are equal, not equal or referentially equal or not.It looks like you...
4 Jul 2011 by Firo Atrum Ventus
Um, Have you tried installing it?Based on my experience, I'm quite sure that there's no installation.How about putting your name as the vendor of that application?
12 Aug 2011 by Peter_in_2780
Easy (I do it all the time). Create two (almost identical) commandsstatic final Command pauseCommand = new Command("Pause", Command.ITEM, 1);static final Command resumeCommand = new Command("Resume", Command.ITEM, 1);In your startup code, add only the pause command to your displayable...
15 Aug 2011 by Simon Bang Terkildsen
Have a look at this[^] for the formula for calculating the distance.
24 Aug 2011 by pinaldave
SQL SERVER – Tips from the SQL Joes 2 Pros Development Series