Question

Im creating a runnable Jar file from Eclipse for a Java file. The Java file has a combobox that changes the image depending on the selection.

Im creating an .exe file for windows using jSmooth.

The .exe runs fine and the images change as expected when the images are in the same file as the .exe file.

How can I "include" the images in the .exe file such that I could send the .exe file to someone without sending them a bunch of images too (using jSmooth).

I do not see a clear method for doing this in JSmooth

Was it helpful?

Solution

What I found out. Using netbeans you can create a label and select an icon in the properties section and this will include the image for you in the jar file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top