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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists