title: How to include custom panel with NetBeans GUI Builder?
body: <p>I have written a class that extends JPanel.  Is it possible to use this in the NetBeans GUI Builder and have it survive all of the automatic code generation?</p>
  
  <p>I have used the customised code option in the GUI builder to instantiate the object as the new class, but it seems like the declaration can't be changed from JPanel, so only methods that I have overridden get called, I can't call new ones that are not present in JPanel. </p>