This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes plz help me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "plz help me" Watch "plz help me" New topic

plz help me

Tamana Joshi

Joined: May 23, 2005
Posts: 21
hi all,

plz tell me whether an applet can be converted into an application, if yes how/if no,why not?

thanks in advance

Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24195

Yes, generally very easily. For many applets, you can just say

JFrame frame = new JFrame();
JApplet applet = new TheAppletClass();
frame.setSize(600, 600);

Some applets (but not all) use applet-specific facilities like applet parameters, the AudioClip sound API, etc. These applets will need some small changes -- but generally nothing too major, just a small matter of coding.

[Jess in Action][AskingGoodQuestions]
Tamana Joshi

Joined: May 23, 2005
Posts: 21
subject: plz help me
It's not a secret anymore!