Is it possible, in Java, to make a JPanel skip drawing its background thus being transparent except for the components on it?
JPanel
class TransparentJPanel extends JPanel { TransparentJPanel() { super() ; this.setOpaque( false ) ; // this will make the JPanel transparent // but not its components (JLabel, TextField etc.) this.setLayout( null ) ; } }