frame background color java code example
Example 1: how to set frame colo in java
getContentPane().setBackground(Color.YELLOW); //Whatever color
Example 2: JFrame background color
setBackground(Color.red);
getContentPane().setBackground(Color.YELLOW); //Whatever color
setBackground(Color.red);