Creating your own appletviewer
As you know well that appletviewer tool creates a frame and displays the output of applet in the frame.You can also create your frame and display the applet output.
Example that works like appletviewer tool
Let's see the simple example that works like appletviewer tool. This example displays applet on the frame.