<Swing Dev> Multiple Applet-instances in one JFrame (different JPanels)

Johannes.Lichtenberger Johannes.Lichtenberger at uni-konstanz.de
Mon Feb 20 11:21:46 UTC 2012


Hello,

is it (even) possible to add multiple Applet instances to a single
JFrame (within different JPanels)? I never thought about it in the first
place, but I've embedded a few Processing(.org) views, which are PApplet
instances and extend Applet in a Swing-GUI but now want to view them
side by side, but the things get messed up somehow, meaning errors like
a popMatrix(...) has to go with a pushMatrix(...) whereas with a single
view/Applet instance it's working all right.

kind regards,
Johannes




More information about the swing-dev mailing list