setBackground for (JFrame)frame

frame.setBackground >> ((JFrame)frame).getContentPane().setBackground