• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Classes in applets

 
andy hough
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have a java program which calls on three diferent classes I have produced, I now want to move the functionality into an applet. How do you get classes to work within an applett?
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nothing is different about using classes in applets than it is in applications. The main class (the one with the "main" method in the application) needs to change of course (it extends Applet or JApplet, and instead of a "main" method you'd have "init" and "start"), but the use of all other classes remains unchanged.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic