setbackground

JFrame color - How to set the JFrame background color

JFrame color FAQ: How do I set the JFrame background color?

In general, to set the JFrame background color, just call the JFrame setBackground method, like this:

jframe.setBackground(Color.RED);

Note that there are many more things you can do with the Java Color class, including: