I am trying to edit the GUI of a project in Netbeans. In particular, I am trying to add new JButtons. I get a NullPointerExce ption when I try to add an Event to any given JButton (even ones that already exist) in my application using the Design Editor.
I go about this by right-clicking on the JButton in the design editor, navigating to Events -> Action -> actionPerformed . The auto-generated code appears for a brief moment before...
User Profile
Collapse
-
NullPointerException when adding event to Jbutton - Netbeans
-
NullPointerException when adding Event to JButton
I am trying to edit the GUI of a project in Netbeans. In particular, I am trying to add new JButtons. I get a NullPointerExce ption when I try to add an Event to any given JButton (even ones that already exist) in my application using the Design Editor.
I go about this by right-clicking on the JButton in the design editor, navigating to Events -> Action -> actionPerformed . The auto-generated code appears for a brief moment...Last edited by Nepomuk; Oct 7 '08, 01:59 PM. Reason: The CODE tags end with [/CODE], not with [CODE] -
NetBeans IDE as a GUI Design Tool
I use NetBeans IDE to develop a Java application. In the past, I could use the Design Editor to edit my form for the GUI. Spontaneously, NetBeans is unable to open the form file, producing this pop-up message labled as "Informatio n": "The form file format is not recognized. The form cannot be opened."
This error was allegedly fixed in previous versions of NetBeans. I have the latest version of NetBeans and...
No activity results to display
Show More