aspose file tools*
The moose likes Beginning Java and the fly likes Need Help Please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

Need Help Please

federico elbl
Greenhorn

Joined: Oct 14, 2003
Posts: 13
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
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
Thanks a lot. Now is giving me these three errors:

Jason Menard
Sheriff

Joined: Nov 09, 2000
Posts: 6450
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need Help Please