File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Customer Requirements for Developers this week in the Jobs Discussion 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: 24189

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
I agree. Here's the link:
subject: plz help me
It's not a secret anymore!