How Does it Work?

I just created my first Swing form using IntelliJ. Seems pretty cool. But there is obviously some magic going on.

Based on the code I am seeing, I should be getting a null pointer exception on this line:

frame.setContentPane(occurrencePanel.topPanel);

But it somehow seems to work.

Is there some kind of aop thing going on? Will this run outside of IntelliJ. Do I need any special jar files?

Please sign in to leave a comment.