I am creating a batch file which contains a
button with image. While running the application in my PC, the image is
displayed correctly. But whenever the file is run on a different PC, the image
is not displayed. Only the button is shown.
To display the image without explicitly
writing where the file is located, you can create a package within the project and
copy the images to that package. Then compile and execute the jar file in any
PC. The image will be displayed.
No comments:
Post a Comment
Thanks for visiting my Blog....Ur comments n suggestions are most valuable for me...Thanks