• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet & Application Reference

 
Theresa Duick
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working with 2 classes. One is an applet & the other an application. In the applet, when a button is pressed, I want to run the application. Is this possible? Or must the application class be revised to be an applet also?
 
paul wheaton
Trailboss
Pie
Posts: 21880
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It will work. A lot of people have done this. Applets ignore main() and applications ignore the applet methods.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic