Change JLabel background colorTag(s): Swing
The JLabel background is transparent by default, so changing the background color doesn't seem to do anything. Do something like this :
aJLabel.setOpaque(true); aJLabel.setBackground(myColor)
mail_outline
Send comment, question or suggestion to howto@rgagnon.com
Send comment, question or suggestion to howto@rgagnon.com