No. Just make sure you get the correct URL of the resource files.
Like:
URL url = java.net.URLClassLoader.getSystemResource( "image.jpg" );
Image image = java.awt.Toolkit.getDefaultToolkit().getImage( url );
Instead of:
Image image = java.awt.Toolkit.getDefaultToolkit().getImage
( "image.jpg" );