java - How to Set the Background Color of a JButton on the ...
2021-7-20 · 34. Normally with Java Swing you can set the background color of a button with: myJButton.setBackground (Color.RED); which would cause the button to be red. But on the Mac OS, this method seems to be ignored. The button just stays the default color.
Get Price