I have a JButton with HTML text:
JButton button = new JButton("<html><center>Manage<br>Users</center></html>");
When I disabled the button, the text still appear in black. How do I make the disabled text in gray (as it should appear when it's not in HTML)? This is what I currently do:
I don't really like this way of doing. Is there a better way?