Hi, I'm new with Java, and I need help with a program that I wrote. It needs to prompt the user for the x value, the y value, and the radius value, and then display the info in a JTextArea. Is giving me the following error:
I don't know what I'm doing wrong. I would really appreciate your help with this. This is the code i have:
Thank you so much.
chi Lin
Ranch Hand
Joined: Aug 24, 2001
Posts: 348
posted
0
Hi, First of all, there is no main() method signature in your code. once you define the main() method, pay attention to the string literal "" they should appear in pair. <- compiler will tell you about this. also, pay attention to the parameter pass to JOptionPane.showMessageDialog(); [ November 15, 2003: Message edited by: chi Lin ]
not so smart guy still curious to learn new stuff every now and then
federico elbl
Greenhorn
Joined: Oct 14, 2003
Posts: 13
posted
0
Thanks a lot. Now is giving me these three errors:
Jason Menard
Sheriff
Joined: Nov 09, 2000
Posts: 6450
posted
0
Please do not cross-post the same question to multiple forums. This has also been addressed in the Swing forum. Please post followups to that thread.