sanjeev charla wrote:
it works fine when running program in netbeans...
but the jar file in dist/ folder is not performing well...
there is no images/ folder in jar file created by netbeans,and also the Main-Class: option is not added in manifest file.
later i added images/ folder to jar file and Main-Class location as follows..
Then it appears your not exporting the code to a JAR file properly in Netbeans. Try building the JAR file manually. Then, when you have that working figure out how to export to a JAR file with the images directory in the proper place, and the manifest the way it needs to be. Read this tutorial page on setting up the SplashScreen.
It may be that you have to import the image into the NetBeans project a specific way, rather than just copying it to a folder (I don't know I don't use NetBeans). Or it might be that you are not running through a 'Jar Export Wizard' with the proper options selected.