C
Chris
I would like to change the color of a selected JToggleButton (in a
ButtonGroup) to red from grey. About the only solution I can find online
is to put this in my main program:
UIManager.put("ToggleButton.select", Color.red);
However this doesn't change anything for me. Strangely if I change my
JToggleButton class to JButton this line indeed does work:
UIManager.put("Button.select", Color.red);
By the way, all my buttons are actually from a derived class called
SymbolButton that extends JToggleButton. I'm running 1.4.2 on Linux.
Thanks,
Chris
ButtonGroup) to red from grey. About the only solution I can find online
is to put this in my main program:
UIManager.put("ToggleButton.select", Color.red);
However this doesn't change anything for me. Strangely if I change my
JToggleButton class to JButton this line indeed does work:
UIManager.put("Button.select", Color.red);
By the way, all my buttons are actually from a derived class called
SymbolButton that extends JToggleButton. I'm running 1.4.2 on Linux.
Thanks,
Chris