how to change the colour of a jframe code example Example: JFrame background color setBackground(Color.red);