|
why dont you create two classes, one will be the applet, the other will be JPanel, and in the applet create an instance of the JPanel class and add it to the applet. then in the JPanel use the paint functions to draw just like drawing normally in java.
Damoun.H.
|