twc
Posts: 129
Nickname: twc
Registered: Feb, 2004
|
|
Re: japplet vs jframe
|
Posted: Feb 12, 2004 12:47 PM
|
|
You would only use JApplet when you want to create an applet which would be embedded in a webpage to be run in a browser. While you *can* use JFrame's in applets, it is uncommon. Usually, JFrame's are used when creating stand-alone applications.
Of course, most applets use the Applet class instead of JApplet due to compatibility issues with Internet Explorer, but that is a separate issue.
Also, even if you use JFrame in an applet, you still have to use either Applet or JApplet. The browser is designed to instantiate an Applet or JApplet object, not a JFrame.
I hope this helps.
|
|