質問

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

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top