about jar files.
dear friends,
i managed to make a jar file which include several class file, jpg file, gif files, icon file etc.
when i run my newly created jar file from the folder where all the files are kept it runs excellently. but if i copy, only this jar file to a new location, and run from this location the window frame open without any problem but the .jpg or .gif files is not shown on the label where it is supposed to be shown.
later i also checked whether the .jpg or .gif files been included in the jar file during the compression. when i decompressed it i found that this jar files is containing the .jpg and .gif files.
|