Block « Component « Java Swing Q&A





1. Forcing Swing components to block    coderanch.com

2. How do I layer components on top of each other without blocking lower components?    coderanch.com

Turns out that with a layout manager (as is documented in the API) layering information is ignored. So even if my JPanel is set to transparent, the layout managers I tried only look at the top (this is because all my frames are of the same size in different layers). So, I got it to work making each layer a JLabel ...

3. Blocking Component Input    coderanch.com