I have a problem with a class which has the next code.
When i transfer the class to other package in same project, give me the next error.Code:
ImageIcon winIcon = new ImageIcon(getClass().getResource("images/setinterface.png"));
It is something like that cant find the pictures, but the pictures are in the same folder and project.
Exception in thread "main" java.lang.NullPointerException