adding resources to jar file
Hi all . I have a little problem but I cant figure out it . I want to add to my project some resources like music, video or simply txt file .But when i run my code whit compiler it works normal ands shows that path file is normal .but when i run Jar file in my computer or on another compter it doesnt see thoose resources..
for example I am addin txt file to project in src folder in package where my.java files. and in path i am using like src/packagename/file.txt. it works when i am compiling with compiler NetBeans. but when I run jar file in dist folder it doesnt see this .txt file.Where am I wrong?