My java applet includes a dialog where some JButtons have specified colors. The code I have is basically as follows:
JButton button = new JButton();
button.setBackgroundColor(Color.red);
This works fine with some JRE versions, but JRE 1.4.2-06 displays a thin border in red, and the body of the button is white (or perhaps a light gray color). Any ideas on how to make the whole button red?
Thanks.