how to change color of a windown java code example
Example 1: how to set frame colo in java
getContentPane().setBackground(Color.YELLOW); //Whatever color
Example 2: jframe color
private JFrame frame;
frame.getContentPane().setBackground(Color.BLACK);