JFrame设置背景颜色的时候,有时候要通过JFrame.getContentPane().setBackground(Color.RED),
Frame则直接通过setBackground(Color.RED);