title: Netbeans GUI editor generating its own incomprehensible code
body: <p>When creating a new project in netbeans, if i select JAVA Desktop application, it creates some code which I DO NOT RECOGNISE AT ALL as what i had learnt in swing.</p>
  
  <p>It imports packages such as :</p>
  
  <pre><code>org.jdesktop.application.SingleFrameApplication;
  </code></pre>
  
  <p>also, the declaration for main() looks like this :</p>
  
  <pre><code>public static void main(String[] args) {
              launch(DesktopApplication2.class, args);
          }
  </code></pre>
  
  <p>This really does not make any sense to my knowledge of JFrame, JPanel etc..</p>
  
  <p>If i try to code a  netbeans application from scratch, i can write my own swing app BUT I CANNOT FIND THE GUI EDITOR.</p>
  
  <ul>
  <li>How do i bring the GUI editor when creating java application from scratch ?</li>
  <li>Can anyone explain to me this org.jdesktop.application.SingleFrameApplication and other classes ? </li>
  </ul>
  
  <p>Please help. This is really frustrating.</p>