Fat Jar will by default include all files in the project directory. My
guess is that the resources you want to use are outside this directory.
i have src folder,bin folder,.classpath,.project and my pictures and html
files in same folder,so it should be ok to put the pics and html files
there.
I wrote:
JButton b = new JButton(new
ImageIcon(Statistikk.class.getResource("/Print.jpg")));
and i copied the jpg and put it all over,in the same place and in the src
folder,still i cant see it when i select files for fat jar....