I've been trying to get a local image (image.png) to show up on a label. Currently, the label will show up (have changed the background color so I can tell) but the image will not show.
Here's the source code for the particular part:
ImageIcon logo = new ImageIcon("spinitlogo.png");
JLabel imageLabel = new JLabel(logo);
add(imageLabel) //imageLabel is added to JPanel constructor
The label shows up, because I can see the color change, I just cannot see the actual image. Any recommendations?