It's not a secret anymore!*
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 Android Security Essentials Live Lessons this week in the Android 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: 24183

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
Similar Threads
I heard that I can apply for SCEA without passing SCJP or SCJD first
Web services through jax rpc or soap which is better solution
K & B second mock exam
I want to use xmlhttp in my JSP page
Using c:if ,logic:empty to check existence of bean data