setBackground(backgroundColor); labelPanel = new JPanel(new BorderLayout()); add(labelPanel, BorderLayout.NORTH); labelPanel.setBackground(null); labelPanel.setOpaque(true);
setBackground(backgroundColor); labelPanel = new JPanel(new BorderLayout()); add(labelPanel, BorderLayout.NORTH);
setBackground(backgroundColor); labelPanel = new JPanel(new BorderLayout()); add(labelPanel, BorderLayout.NORTH);