Create a transparent panel

I need to create a panel that should be invisible, but the components inside it (e.g. JTextArea, JButton, etc.) should be visible. When I click on an invisible panel, it becomes visible.

I can use only JRE 1.4 and nothing more. :(

Any idea of ​​creating such a transparent panel ???

+5
source share
2 answers

Transparency is controlled by

setOpaque(false)
+8
source

JComponent.setOpaque(false) - way.

+5
source

All Articles