开发者

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

开发者 https://www.devze.com 2023-01-08 02:48 出处:网络
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$$$

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)

0

精彩评论

暂无评论...
验证码 换一张
取 消