Is there a way to make the generated GUI code from IDEA visible?
I have made an extremely si开发者_开发技巧mple 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 ?
Settings | GUI Designer | Generate GUI into | Java source files.
File > Settings > GUI Designer >Generate GUI into Java source code
(see: https://grahamwideman.wikispaces.com/Java+IntelliJ+GUI+app+notes)
精彩评论