NullPointerException in $$$setupUI$$$
I have a very simple starting plugin project with one project component
and one GUI Form that contains a JPanel with a JLabel.
It's all very simple, but when I try to create an instance of the form
in the projectOpened() method I get a NullPointerException in the forms
hidden $$$setupUI$$$ method.
What are the possible causes for this, is there any way I can see what
code gets generated in there?
Thanks,
Jeff
Software Architect
www.popjax.com
Please sign in to leave a comment.
Hello Jeff,
You can go to Settings | GUI Designer and enable source code generation for
the UI Designer forms. Then you'll see where the exception happens.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Dmitry Jemerov wrote:
>
Excellent! That's just what I needed, it pointed out my problem right away.
Thanks,
- Jeff