The setBackground(Color c) method is shared by many GUI components. It will set the background color to any Color object. Color has many constant colors, like RED, GREEN, BLUE, YELLOW, CYAN or you can make your own by passing in the R,G,B components to a Color constructor. To change the Button color you would say button.setBackground(new Color(45,00,84)) to change the Button to JMU Purple.