|
You don't want to do this. What you should think about doing is to code a Swing application that ultimately creates a JPanel. Then should you decide to use this as a JApplet, you simply add the JPanel to a JApplets contentPane. Likewise if you want to use this in a stand-alone GUI app, you simply add the JPanel to a JFrame.
|