32,199 Topics
| |
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.*; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
Hi I want to draw a stroke line starting from point (x1,y1)to another point (x2,y2) If any help . | |
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 … | |
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 … | |
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 … | |
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++? | |
Hi Where can I find information on networking in java? Like programming applets/Jframes as IM's or programs sending emails? | |
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. … | |
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); } }] … | |
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? | |
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, … | |
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. | |
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. | |
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"); … | |
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 | |
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 … | |
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 … | |
What is the best compiler for JAVA? BlueJ, Eclipse, or what? Opinion, please...I'm kinda lost. | |
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 … | |
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 … | |
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..... | |
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 … | |
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 … | |
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{ … |
The End.