Results 1 to 6 of 6
Thread: how to add main function
- 04-13-2008, 08:41 AM #1
Member
- Join Date
- Apr 2008
- Posts
- 4
- Rep Power
- 0
- 04-13-2008, 08:42 AM #2
Member
- Join Date
- Apr 2008
- Posts
- 4
- Rep Power
- 0
what is the best compiler? i'm using Jcreator sould i change to intelliJEDEA or something else?
- 04-14-2008, 12:07 AM #3
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:
What are you using to write your code?
Good luck!-- www.firemelt.net --
Cheer up, the worst has yet to come...
- 04-14-2008, 10:40 AM #4
Hello spratana,
Please take a look at this link: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 MethodsDid this post help you? Please
me! :cool:
- 04-16-2008, 01:00 PM #5
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
- 04-16-2008, 01:33 PM #6
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Similar Threads
-
Need a little help with a function!
By Nuluvius in forum New To JavaReplies: 3Last Post: 02-07-2008, 11:33 PM -
ERROR: Exception in thread "main" java.lang.NoSuchMethodError: main
By barney in forum New To JavaReplies: 1Last Post: 08-07-2007, 07:10 AM -
I want to add function
By romina in forum New To JavaReplies: 1Last Post: 08-07-2007, 05:25 AM -
function name
By osval in forum Advanced JavaReplies: 1Last Post: 08-06-2007, 08:56 PM -
exception in thred main java.lang.nosuchmethoderror: main
By fernando in forum Java AppletsReplies: 1Last Post: 08-06-2007, 09:11 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks