java JLabel

Soldato
Joined
29 Oct 2005
Posts
3,298
Hi guys, I need to disable some JLabels but still change the colour of their backgrounds. Is this possible?

E.g

JLabel.setEnabled(false);
JLabel.setBackground(Color.red);

Also when using a swing Timer does "fireActionEvent" make the timer do one "tick"?

thanks

daven
 
Last edited:
Back
Top Bottom