IntelliJ GUI Builder Bind to class does nothing
Answered
I've created a basic GUI in IntelliJ IDEA to test however the Bind to Class function does not seem to be working.
This is the code generated by IntelliJ using the inbuilt GUI Builder and adding a custom Action Listener https://gist.github.com/KrazySoft/f310f0c1e1dccd8c014f7597ad157e8a
When attempting to run the project however I get a null pointer exception on the btnSelect.addActionListener line and debugging shows that all of the Swing components are null, however in the App.form file it clearly shows that the form is bound to that class which I was under the impression meant it would automatically generate the code required to connect the components to the class?
Please sign in to leave a comment.
Could you please provide a demo project to reproduce a problem?