Just want to know why my Frames and menuItem imageicons do not work when I put it in a jar file? Running the app outside of the jar, icons etc works fine.
Any help would be appreciated!
Hey guys, thanks for the info, really appreciate it. One issue I have now... here is the code:
This works fine when I run it via a batch file, but when everything is in a .jar file, the program does not start up at all... I verified that all the images and classes are in the right place.
I had a look at the link you gave me. I am sure that I did it right. The jar runs fine when I take the
code out. As I said, the app runs fine with the above code when I run it via command line, but not in jar. I have attached images of the jar contents aswell as the app directory and contents of the manifest file. The code I use to compile my jar file is: jar cvfm NetChatClient.jar manifest.txt *.class img/*.*
OH MY WORD guys, I found the problem. I'm sorry for this whole discussion, I feel like such an idiot now. The problem was that I used dir//file instead of dir/file in my URLs. Sorry again... Please close this thread, thanks.
Arthur, where are your pants? Check under this tiny ad.
Gift giving made easy with the permaculture playing cards