title: adding jpanel into a jframe. netbeans
body: <p>i am particularly using netbeans gui editor and i am new to gui</p>
  
  <p>i have a jframe created and I added jtabbedpanel. </p>
  
  <p>inside the jtabbedpanel i have 2 panels that i call standard and compact </p>
  
  <p>i have set standardPanel = new ImagePanel(); which ImagePanel.java is located on different java file </p>
  
  <p>how am I suppose to put a panel on different file for reusability ?</p>
  
  <p>i obviously dont want all the codes in a single file. </p>
  
  <p>is this the right way to design a gui ? </p>
  
  <p>thanks</p>