JComponent () { if (contentPane == null) { contentPane = new PaintAwarePanel(new GridBagLayout()); myControl.fillUi((PaintAwarePanel)contentPane, 0); myControl.reset(myProject); } return contentPane; }