title: How to add title in Netbeans (java)?
body: <p>Just can't figure this out in my GUI, I know it's probably simple but thought I'd ask.</p>
  
  <p>I assume I need something in this code:</p>
  
  <pre><code>public static void main(String args[]) {
  
      /* Create and display the form */
      java.awt.EventQueue.invokeLater(new Runnable() {
          public void run() {
              new myGUI().setVisible(true);
  
  
          }
      });
  }
  </code></pre>
  
  <p>Thanks.</p>
  
  <p>Edit - for some reason public static etc. isn't showing up above - but you probably don't need that.</p>