I am having trouble getting an image to show up on my application. Can you see where I am going wrong? I just need the image to show up on the pane like everything else. The JPanel is named contentPane. Everything else shows up.
    books = new ImageIcon("books.png");
    imgLabel = new JLabel();
    imgLabel.setIcon(books);
    imgLabel.setBounds(300, 315, 203, 141);
    contentPane.add(imgLabel);
 
     
    