Is there a way to make the generated GUI code from IDEA visible?

I made a very simple project in IntelliJ IDEA, basically just a form with a JToolBar containing JButton, and when I try to run it, I get NPE in the form. $$$ setupUI $$$ - but no such thing is reflected in the actual .java form, so I have no way to debug it or track the error.

Is there a way to make an IDEA presentation (and maybe even let me change) the "magic" generated code?

+7
java user-interface intellij-idea code-generation
source share
2 answers
+9
source share

File> Settings> GUI Designer> Generate GUI into Java Source Code

(see: https://grahamwideman.wikispaces.com/Java+IntelliJ+GUI+app+notes )

+2
source share

All Articles