Warna JFrame
private JFrame frame;
frame.getContentPane().setBackground(Color.BLACK);
Fine Fowl
private JFrame frame;
frame.getContentPane().setBackground(Color.BLACK);
setBackground(Color.cyan); // sets predefined color cyan to background of frame