Show what code? This is my first time trying to make a excutable jar file from :
http://www.cs.princeton.edu/introcs/85application/jar/jar.html I have a main.class file and dinmaster.jpg. So to make the executable jar file I created the manifest.txt file containing
Manifest-Version: 1.0
Main-Class: main
I typed the cmd >jar cmf manifest.txt myproj.jar main.class dinmaster.jpg
So, I expect when i double click myproj.jar, the project launch. Yes it did, but then there are no images display at all. My image is set to local path sth like this :
dinmasterLbl=new JLabel();
dinmasterLbl.setIcon(new ImageIcon("dinmaster.jpg"));
I hope u can understand my questions.........thanks