For some reason, I am unable to access an image file while in a package. When I do
JFrame frame = new JFrame();
ImageIcon grass = new ImageIcon("Grass.png");
JLabel lGrass = new JLabel();
lGrass.setIcon(grass);
frame.add(lGrass);
with the files being in the same directory it works, but as soon as I do the same thing in a package, ImageIcon doesn't seem to be able to access Grass.png with no error or image showing up.