I put this in the main method, but the background won't show. Is there a draw image that I have to put after it or something to make the background show?
//background image
JLabel contentPane = new JLabel ();
JFrame frame = new JFrame ();
contentPane.setIcon (new ImageIcon ("background.png"));
contentPane.setLayout (new BorderLayout ());
frame.setContentPane (contentPane);