I'm developing a web-based applet and I want it to open an external swing form that's stored in a separate class.

Basically can someone just show me how to open a blank JPanel that is stored in a separate class file from an applet running in a browser? I believe I can do anything beyond that on my own. Any tips would be appreciated though.

On another note:
I'm pretty advanced with Java but I just have very little experience with applets. Would you recommend using the java.applet.Applet class or the swing JApplet class for my applets? Is there any big difference?