• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CONVERTING an application to an applet

 
Rocky Summers
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
how do i convert an application to an applet..?
 
Billybob Marshall
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There isn't a magic answer for this. Re-engineer it.
 
Rocky Summers
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the methods i use for the application, would it still be the same as the methods i would use for the applet?
the only difference is the init() method in the applet is it not?
 
Brian Pipa
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Put your main display in a JPanel (or Panel). Then, you just instantiate that Panel differently depending on whether you're running as an applet or application.
brian
 
Craig Wood
Ranch Hand
Pie
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For this application:

the applet conversion can be:
 
Rocky Summers
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh cool thanks you guys!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic