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.<init><unknown Source>
at hrms_project.Login_frame.<init><Login_frame.java:116>
at hrms_project.SplashPanel.main<SplashPanel.java:49>
Classes used in the project are
SplashPanel.java (jPanel)
Login_frame.java (jFrame)
user_pass.java (jFrame)
admin_pass.java (jFrame)
user_main_frame.java (jFrame)
admin_main_frame.java (jFrame)
admin_change_admin_pass.java (jPanel)
admin_change_emp_pass.java (jPanel)
emp_change_emp_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..