Problem initializing objects in GUI
Trabajo <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
I made a program that I want to implement now in a GUI. I've built a GUI with the Netbeans GUI Editor. When a certain button is pressed, it must create an object. My GUI components are all correct and so is my program (no errors) but at runtime I get an exception: "Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException" This is because I have trouble with the initialization of my objects that are not part of the UI. Where do I have to initialize my objects in order to use them properly? -- View this message in context: http://www.nabble.com/Problem-initializing-objects-in-GUI-tf3942794.html#a11184006 Sent from the Netbeans - UI mailing list archive at Nabble.com.