hi
im a beginner in Java
i have make a simple program using the JCreator LE
but when i execute file the error below is shown in the command prompt
Exception in thread "main" java.lang.NoSuchMethodError: main
may i know what is the matter?
thank you in advance
shingo99
0
Newbie Poster
Recommended Answers
Jump to PostThat means there is no method matching the signature you gave. It could be a parameter missing, a mispelling, or a number of problems.
udit,
you forget the t in paint:public void pain(Graphics g)
change to;
public void paint(Graphics g)
Jump to PostHello there,
im begineer too, but i found coding is not the matter, please read JCreator Help Contents, u will find JC doesnt have applet viewer, u must insert manually class filename into html applet template provided, then run that html file as usual, why not switch to TextPad, simple …
Jump to PostPlease use CODE-tags to post code. It makes it a lot easier to read! Also, try to write better English. It is hard to understand what you write.
All 10 Replies
udit611
0
Newbie Poster
server_crash
64
Postaholic
techy
0
Newbie Poster
cheenu78
0
Light Poster
archangeloft
0
Newbie Poster
mrdsys
0
Newbie Poster
thekashyap
193
Practically a Posting Shark
hiralchheda
0
Newbie Poster
hiralchheda
0
Newbie Poster
Cort3z
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.