I'm trying to load an image using ImageIcon and Java keeps giving a NullPointerException on this line no matter how I format the file path:
ImageIcon ii = new ImageIcon(this.getClass().getResource("/img/icons/options.gif"));
Any help will be greatly appreciated, thanks!