View Full Version : Display of colors in Java

Feb 27, 2008, 02:54 PM
I'm making a GUI using JPanel. When I use .setBackground, however, no colors show up. My program compiles, and colors do show up on other machines. I have a brand new MacBook Pro. Any ideas? Also, any ideas on solving this problem on other computers with the same issue, were I to make an applet.

Feb 27, 2008, 03:33 PM
Let's see a small code example that does not work.

Feb 27, 2008, 03:35 PM
What look and feel are you using? Is the component opaque?

Post code.