how to set default jframe background to black 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);