I have used NetBeans to design the GUI. The meat of the program is my own code. 2.0 (still in development) is all my own code with NetBeans to execute the code.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you give me your *.form file (GUI file)?
I need it because I have a problem running this software in RedHat Linux. I need to to edit you GUI design using NetBeans.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
2nd error :
[syzuhdi@zuhdiLinux Python]$ java -jar VMT_1.12.jar
Error: Open File
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at jMaint.jMaint.ChangeVeh(jMaint.java:912)
at jMaint.jMaint.MainVehicleSelect(jMaint.java:1577)
at jMaint.jMaint.OpenFile(jMaint.java:994)
at jMaint.jMaint.formWindowOpened(jMaint.java:822)
at jMaint.jMaint.access$100(jMaint.java:13)
at jMaint.jMaint$1.windowOpened(jMaint.java:106)
at java.awt.Window.processWindowEvent(Window.java:1179)
at javax.swing.JFrame.processWindowEvent(JFrame.java:266)
at java.awt.Window.processEvent(Window.java:1140)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Window.dispatchEventImpl(Window.java:1766)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
[syzuhdi@zuhdiLinux Python]$ java -jar VMT_1.12.jar
Error: Open File
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at jMaint.jMaint.ChangeVeh(jMaint.java:912)
at jMaint.jMaint.MainVehicleSelect(jMaint.java:1577)
at jMaint.jMaint.OpenFile(jMaint.java:994)
at jMaint.jMaint.formWindowOpened(jMaint.java:822)
at jMaint.jMaint.access$100(jMaint.java:13)
at jMaint.jMaint$1.windowOpened(jMaint.java:106)
at java.awt.Window.processWindowEvent(Window.java:1179)
at javax.swing.JFrame.processWindowEvent(JFrame.java:266)
at java.awt.Window.processEvent(Window.java:1140)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Window.dispatchEventImpl(Window.java:1766)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
[syzuhdi@zuhdiLinux Python]$ java -jar VMT_1.12.jar
Error: Open File
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at jMaint.jMaint.ChangeVeh(jMaint.java:912)
at jMaint.jMaint.MainVehicleSelect(jMaint.java:1577)
at jMaint.jMaint.OpenFile(jMaint.java:994)
at jMaint.jMaint.formWindowOpened(jMaint.java:822)
at jMaint.jMaint.access$100(jMaint.java:13)
at jMaint.jMaint$1.windowOpened(jMaint.java:106)
at java.awt.Window.processWindowEvent(Window.java:1179)
at javax.swing.JFrame.processWindowEvent(JFrame.java:266)
at java.awt.Window.processEvent(Window.java:1140)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Window.dispatchEventImpl(Window.java:1766)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Are you using NetBeans to coding this software?
I have used NetBeans to design the GUI. The meat of the program is my own code. 2.0 (still in development) is all my own code with NetBeans to execute the code.
Can you give me your *.form file (GUI file)?
I need it because I have a problem running this software in RedHat Linux. I need to to edit you GUI design using NetBeans.
What is the problem? If you have it maybe others do to.
1st error :
I cannot move the GUI.
2nd error :
[syzuhdi@zuhdiLinux Python]$ java -jar VMT_1.12.jar
Error: Open File
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at jMaint.jMaint.ChangeVeh(jMaint.java:912)
at jMaint.jMaint.MainVehicleSelect(jMaint.java:1577)
at jMaint.jMaint.OpenFile(jMaint.java:994)
at jMaint.jMaint.formWindowOpened(jMaint.java:822)
at jMaint.jMaint.access$100(jMaint.java:13)
at jMaint.jMaint$1.windowOpened(jMaint.java:106)
at java.awt.Window.processWindowEvent(Window.java:1179)
at javax.swing.JFrame.processWindowEvent(JFrame.java:266)
at java.awt.Window.processEvent(Window.java:1140)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Window.dispatchEventImpl(Window.java:1766)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
[syzuhdi@zuhdiLinux Python]$ java -jar VMT_1.12.jar
Error: Open File
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at jMaint.jMaint.ChangeVeh(jMaint.java:912)
at jMaint.jMaint.MainVehicleSelect(jMaint.java:1577)
at jMaint.jMaint.OpenFile(jMaint.java:994)
at jMaint.jMaint.formWindowOpened(jMaint.java:822)
at jMaint.jMaint.access$100(jMaint.java:13)
at jMaint.jMaint$1.windowOpened(jMaint.java:106)
at java.awt.Window.processWindowEvent(Window.java:1179)
at javax.swing.JFrame.processWindowEvent(JFrame.java:266)
at java.awt.Window.processEvent(Window.java:1140)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Window.dispatchEventImpl(Window.java:1766)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
[syzuhdi@zuhdiLinux Python]$ java -jar VMT_1.12.jar
Error: Open File
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at jMaint.jMaint.ChangeVeh(jMaint.java:912)
at jMaint.jMaint.MainVehicleSelect(jMaint.java:1577)
at jMaint.jMaint.OpenFile(jMaint.java:994)
at jMaint.jMaint.formWindowOpened(jMaint.java:822)
at jMaint.jMaint.access$100(jMaint.java:13)
at jMaint.jMaint$1.windowOpened(jMaint.java:106)
at java.awt.Window.processWindowEvent(Window.java:1179)
at javax.swing.JFrame.processWindowEvent(JFrame.java:266)
at java.awt.Window.processEvent(Window.java:1140)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Window.dispatchEventImpl(Window.java:1766)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
What Java are you using (Sun, IBM, etc.)? What version are you using?
I'm using SUN jdk. version 1.5.0
[syzuhdi@zuhdiLinux syzuhdi]$ java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)
I'll look into this.
This error is very odd. Please send me your data file. I can track the problem using it.
Java 1.5 works fine with VMT.
I got this problem when running using Linux RedHat 9.
It is ok if i using Windows