We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › PApplet in JLayeredPane
Page Index Toggle Pages: 1
PApplet in JLayeredPane (Read 241 times)
PApplet in JLayeredPane
Apr 18th, 2008, 2:39pm
 
I'm currently thinking about an java applet which consists of two layers. The bottom layer shows a processing visualization. Above this visualization there are some Swing GUI controls in a second layer. The controls have to be Swing controls as they have to be customized and are aligned on a transparent layer, which makes the underlying visualization visible.

I thought about the JLayeredPane with one pane containing an PApplet and the second pane containing the GUI controls. But currently the PApplet is rendered always on top - no matter on which layer it is positioned. Is this because of awt.

Does anyone have an idea or an suggestion how to solve the problem?
Page Index Toggle Pages: 1