Hi,

I have a resource file im my project under the folder "resources".

From my code, the file is accessed by:
FileInputStream rs = new FileInputStream(new 
File("resources/Palm8BitColors.pal"));

This works fine, when I run the application under NetBeans IDE.

But the resource file is not included in the JAR file under "dist", so it won't 
run independently of NetBeans.

How is the correct way to integrate and access the file into the JAR?

Thanks
-Ulf


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to