Have a JLabel with some text in. Can change the colour of the text, but only seem able to change the backgroud to black or white. Code I use is as follows (the class extends a JLabel, actionPerformed relates to a PopUpMenu from the JLabel)
Is there some restriction on the background color of JLabels, or have I missed something screamingly obvious
Joined: Jun 23, 2004
SORRY SORRY SORRY
Just looking throught my code again, when I set my action command for that menu item I'd mispelled the word orange (had put ornage).
Monday morning, brain not in gear yet (my excuse anyway!!)