I'd like to ask about quite a trivial thing if you don't mind. Is there a method under JRadioButton class that allows changing of color of the background of the "circle" that is ticked in the radiobutton, not that of the radiobutton itself. i want it plain white, not the default lightblue gradient. thanks in advance sirs.
Asked
Active
Viewed 1,510 times
0
-
You'll need to extend `BasicRadioButtonUI`, as discussed in [Change selected dot color of `JRadioButtonMenuItem`](http://stackoverflow.com/questions/12024840/change-selected-dot-color-of-jradiobuttonmenuitem) – trashgod Oct 12 '13 at 15:12
1 Answers
0
you can set your own Icon maybe get that Icon from the java libs or from the web then edit them with photoshop or whatever and set your Icon
jrb.setIcon("source");
jrb.setSelectedIcon("source");
jrb.setDisaybledIcon("source");
jrb.setRolloverIcon("source");

user2868431
- 1
- 1