well, i need to compile applet, how can i add the main argument?
Printable View
well, i need to compile applet, how can i add the main argument?
what is the best compiler? i'm using Jcreator sould i change to intelliJEDEA or something else?
Jcreator should have a built in compiler... Look for button to build and or run your application.
As far as the best editor goes, you might be interested in this topic:
http://www.java-forums.org/new-java/...your-code.html
Good luck!
Hello spratana,
Please take a look at this link:Quote:
In applications, programs begin running with the first statement inside the main() block statement and end with the last closing bracket (}) that closes out the block. There is no main() method in a Java applet, so there is no set starting place for the program. Instead, an applet has a group of standard methods that are handled in response to specific events as the applet runs.
InformIT: Sams Teach Yourself Java 2 in 24 Hours > Standard Applet Methods
Applet was designed for browsers, and it has different method implementation not like desktop app...
No method main required....
take a look at PARAM tags.
it is the equivalent of method main arguments.
kind regards,
sukatoa