There is a resource (PNG image) inside the folder /resources/images/.
However, when I execute the following code I get an error, because the URL is null.
URL url = Test.class.getResource("/resources/images/icone.png");
However, when I debug the code it seems that the parameter "/resources/images/icone.png" is not passed at all, because Eclipse says it is null, as you can see on the image below:
I've searched a lot through the internet and I can't find an answer. Please, anyone has an advice?