
I have made a HRMS (Human Resource management System) using NetBeans 6.5 and for database MySQL 5
The project is completed and running fine ( great) without any problem when i run it in NetBeans using Run Main Project Button.
Then i 'Clean and Build the project' and get a dist folder in thr project directory.
Now The PROBLEM IS...
When is run the jar file from the dist folder , the first form (i.e Splash From) Opens fine but after progress bar is filled it should be disappeared followed by opening of Login form , BUT it dont happen , the Login Form dont opens..
But It works fine when i run project from NetBeans and all forms opens.
when i run the jar file form dist folder using cmdPrompt the following errors shows .
Exception in thread "main" java.lang.NullPointerEXception
at javax.swing.ImageIcon.
Classes /Forms used in the project are :
SplashPanel.java (jPanel)
Login_frame.java (jFrame)
user_pass.java (jFrame)
admin_pass.java (jFrame)
usermainframe.java (jFrame)
adminmainframe.java (jFrame)
adminchangeadmin_pass.java (jPanel)
adminchangeemp_pass.java (jPanel)
empchangeemp_pass.java (jPanel)
Main.java
where SplashPanel.java is set as main class to open first when project is run.
Do i also need to post the code?
Please Help ! I have my Project Presentation tomorrow..
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.