I created a desktop application with Swing Application Framework, now how can I convert it to an applet? The main class extends SingleFrameApplication.
EDITED: This
Simplest thing is just to make a new outer class inheriting from JApplet, and instantiate the actual frame inside it.
Found a tutorial online that could help.
The quick and dirty way:
Drop extends SingleFrameApplication. Add extends JApplet.
replace the constructor with public void init() leaving the body as is.
Create an HTML page to hold it. and give it a whirl.
There will likely be some scoping issues, but you should be able to fix those fairly easily.