32,199 Topics

Member Avatar for
Member Avatar for johnD29

I have to make three checkboxes appear, and when I click one, a picture will appear, when I click checkbox 2, figure 2 will appear, and same for #3. Can't get it to work, don't know what I'm doing wrong. This is what I have for now: [code] import java.awt.*; …

Member Avatar for Ezzaral
0
95
Member Avatar for no1zson

I have spent the weekend reading about GUI and how Java uses it, and all I got was confused. :o) I decided the best way to learn it was just to get in to it and start coding, so that is what I did. Went better than I thought it …

Member Avatar for no1zson
0
225
Member Avatar for chihwei

Need some help , i don't know where went wrong Thank you "Reversing the elements of an array involves swapping the corresponding elements of the array: the first with the last, the second with the next to the last, and so on, all the way to the middle of the …

Member Avatar for chihwei
0
265
Member Avatar for xfrostedkissx

Can someone please help me make my could into 2-3 multiple java files? I really don't know how to break it up and I am afraid if I do, I'll mess it up and have to start all over again. So if any could please help me it would be …

Member Avatar for jwenting
0
185
Member Avatar for missfidz

i'm a student and not very good in java programming language. my lecturer had asked me to develop a simple messenger that have basic features like chat, transfer file, add friend and so on.. anyone here can help me and give me the coding or explain to me how to …

Member Avatar for Phaelax
0
95
Member Avatar for teklu

any one who knows how to control devices for example LED's connected to parallel port using java programming please show me how from the very beginning

0
70
Member Avatar for teklu

Hi I want to draw a stroke line starting from point (x1,y1)to another point (x2,y2) If any help .

Member Avatar for teklu
0
103
Member Avatar for Mr.UNOwen

So I'm creating a game that I want to be able to add more characters in without recompiling the whole thing. Is there a way java automatically detects classes or is there a way I can access a class at runtime by a string so that I can just read …

Member Avatar for thekashyap
0
83
Member Avatar for manusp

Hi need help and explanation to fix the following error in my java program. I can not get the program to show a gui pop-up window. I have to turn this end by 12midnight EST. Just looked at this code, when you see that dos window and no GUI it …

Member Avatar for masijade
0
128
Member Avatar for Ved_TheOne

Hi everyone, I have just started to learn java, nd started to work on some nice little programs but was trying to develop a output similar to this following 1 121 1331 14641 but couldnt make it.... instead i ended up to give this folloiwng output 1 12 123 1234 …

Member Avatar for masijade
0
123
Member Avatar for Firestone

I tried searching the forums for this, but couldn't find anything. If I were to make a career out of computer programming, which would be better to learn, Java or C/C++?

Member Avatar for Rashakil Fol
0
364
Member Avatar for tygerberg

Hi Where can I find information on networking in java? Like programming applets/Jframes as IM's or programs sending emails?

Member Avatar for peter_budo
0
119
Member Avatar for xfrostedkissx

Hi! I was wondering if someone could please help me with a hangman program that I have to do. I have some ideas, but really don't know what to do or where to start. My program needs to be: interactive with the user, menu based(like Menu: 1. Play hangman 2. …

Member Avatar for ~s.o.s~
0
400
Member Avatar for satish.paluvai

I am passing a null value as a parameter to a method the code is like that-- [ public class A { public void ob1(Object o) { sopln("object version"); } public void ob1(String s1) { sopln("String version"); } public static void main(string args[]) { A a=new A(); a.ob1(null); } }] …

Member Avatar for ~s.o.s~
-1
109
Member Avatar for vinu_07
Member Avatar for satish.paluvai

can we create an war file in eclipse3.1 version with out taking the help of dos? if it is possible to create an war file plz tell me the procedure how to create it?

Member Avatar for Ezzaral
0
83
Member Avatar for tygerberg

Hi It's my official first year learning java and I've got a project that has to be done before the end of the year. And I was hoping someone could give me a couple of good project ideas. The project has to solve a certain problem e.g. Kids need games, …

Member Avatar for peter_budo
0
93
Member Avatar for ressi1

please make cash register using gui application and java programming language. Like the cash register in mcdonalds. i just want to see how it works. My program is not working.

Member Avatar for venomlash
0
78
Member Avatar for staron4

Looking for a free sites to get me started,I like Visual,Learn better That way. I have been reading a few books But it is a bite hard.

Member Avatar for tygerberg
0
133
Member Avatar for abar_sow

how to run servelets in java ..I think there is no error in my following code...In java compiler its tellin that package does not exists. import java.io.*; import java.text.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class HelloServelet extends GenericServelet { public void service(ServletRequest request,ServletResponse response)throws ServletException, IOException { response.setContentType("text/html"); …

Member Avatar for ~s.o.s~
0
129
Member Avatar for vvn

I Need to build comparison shopping site like [url]http://www.nextag.com[/url] / and [url]http://www.gosale.com/[/url] Any notes or open source code. Thanks

Member Avatar for jwenting
0
158
Member Avatar for vinutha1309

Hi... i want to align the components on the panel so that the components r fixed on the panel ..and the page should be scroll down so that i want to add scrollPane to it..can anyone help me.... This is my Code............. //contact Details import javax.swing.*; import java.awt.*; public class …

Member Avatar for peter_budo
0
100
Member Avatar for abar_sow

My doubt is how to run applet ..My code is as follows: The following code complied successfully .......To see the output whether i hav 2 type it in browser or dos prompt itself.. If i gave java SampleButton while Running in dos prompt, Its giving error called `exception in thread …

Member Avatar for abar_sow
0
172
Member Avatar for venomlash

What is the best compiler for JAVA? BlueJ, Eclipse, or what? Opinion, please...I'm kinda lost.

Member Avatar for jbennet
0
151
Member Avatar for no1zson

I want to learn more about how inheritance works, more like I NEED to learn more about it if I am to get any better at this. In my code I have the value of a cd defined as how many cds are in stock times the price of the …

Member Avatar for no1zson
0
94
Member Avatar for Ramya03

sorry ...i created a page in java applets ....with one text box and one button.I want to send the values in the text box to google web page.... Tat is how to pass values to web page(online) from one static page in java. Am totally new to java .. Give …

Member Avatar for peter_budo
0
81
Member Avatar for Ramya03

i created a page in java applets ....with one text box and one button.I want to send the values in the text box to java.....Am totally new to java .. Give ur suggestions also, Whether it can be done in sum other way... Thanks In advance To My dear Friends.....

Member Avatar for vinod_javas
0
407
Member Avatar for onsir

Hi, all I have code like this for encrypt - decrypt. but every time i run, result encrypt always different. so how to value in varible key constant. then result same every time run thanks. import java.io.*; > import java.security. *; > import javax.crypto. *; > import sun.misc.*; > import …

Member Avatar for ksaxena
0
127
Member Avatar for md_salman

I have a class A ( which is a JFrame with card layout ). Two other classes B and C ( both are JPanels ). Class A initially displays an instance of the class B in its content pane. When a button is hit in the class B, I want …

Member Avatar for Ezzaral
0
59
Member Avatar for vijaygandhi559

Hi, I am trying to configure the logger in java to log my messages. I have downloaded and added the log4j.jar to my classpath. I am receving two error messages while I am running the program to check it.The code I am using is : import org.apache.log4j.*; public class LoggerClass{ …

Member Avatar for jwenting
0
192

The End.