I have made an extremely simple project in IntelliJ's IDEA, basically just a form with a JToolBar containing a JButton, and when I try to launch it, I get an NPE in form.$$$setupUI$$$ - but no such thing is reflected in the actual form.java, so I have no way to debug it or track down the bug.
Is there a way to make IDEA show (and maybe even let me change) the 'magically' generated code ?
On the main menu, choose File | New. On the pop-up menu, choose GUI Form. Specify the name of the new form, and select the layout manager. Check the option Create bound class, and specify the bound class name.
GUI Designer in IntelliJ IDEA enables you to create graphical user interfaces (GUI) for your applications using Swing library components.
Settings | GUI Designer | Generate GUI into | Java source files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With