Forums Register Login

plz help me

+Pie Number of slices to send: Send
hi all,

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

thanks in advance

+Pie Number of slices to send: Send
Yes, generally very easily. For many applets, you can just say

JFrame frame = new JFrame();
JApplet applet = new TheAppletClass();
frame.getContentPane().add(applet);
frame.setSize(600, 600);
frame.setVisible(true);
applet.init();
frame.validate();
applet.start();

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.
+Pie Number of slices to send: Send
thanks
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 677 times.
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
I want to use xmlhttp in my JSP page
Using c:if ,logic:empty to check existence of bean data
K & B second mock exam
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:51:27.