Use Layout manager Like Grid or GridBag.
Have two cells in the applet.
Add the panel or canvas to both the cells.
In this way you can divide the applet into two frames. Now you are at liberty to put the component whichever you want and what ever you want to display.