title: Example has no errors but won't generate Swing JPanel
body: <p>I'm learning Java and would like to do the tutorials I found at <a href="http://zetcode.com/tutorials/javagamestutorial/basics/" rel="nofollow">http://zetcode.com/tutorials/javagamestutorial/basics/</a></p>
  
  <p>For the first tutorial when I run in Netbeans I get no errors and a window doesn't show up. Is there a setting I need to set in Netbeans?</p>
  
  <pre><code>package tut01;
  import javax.swing.JFrame;
  import javax.swing.JPanel;
  
  public class Tut01 extends JFrame{
  
      public Tut01(){
          add(new Board());
          setTitle("Tut01");
          setDefaultCloseOperation(EXIT_ON_CLOSE);
          setSize(300, 280);
          setLocationRelativeTo(null);
          setVisible(true);
          setResizable(false);
      }
  
      /**
       * @param args the command line arguments
       */
      public static void main(String[] args) {
          new Tut01();
      }
  }
  
  
  package tut01;
  import javax.swing.JPanel;
  
  public class Board extends JPanel{
      public Board(){
      }
  }
  </code></pre>