Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

String args[]

 
Catriona McCann
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I use :
public static void main (String args[])
when working with an applet ? Or is it possible ?
Thanks in advance !!
 
Matt Midcap
Sheriff
Posts: 440
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Catriona,
Unfortunately you can not use "public static void main(String args[])" in an applet.
As you probably already know, you will need to use the init(), start(), stop(), paint(Graphics g), and run() methods. Some you override (like start() and stop() - if you need something started and stopped), etc.
Best regards,
Matt
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic