Don't use applets. Convert the code to a normal application run from the command line. If you absolutely insist on using applets, write a tiny HTML file to contain the applet and open it with the appletviewer tool.
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
Devious Experiments for a Truly Passive Greenhouse!