title: My GUI will not display when I hit run in NetBeans
body: <p>When I select "run" in Netbeans, my GUI does not display.  It just displays a box on the bottom of the screen that says "Build successful".</p>
  
  <pre><code>/*
   * To change this license header, choose License Headers in Project Properties.
   * To change this template file, choose Tools | Templates
   * and open the template in the editor.
   */
  
  package modelrange;
  
  import javax.swing.DefaultBoundedRangeModel;
  
  public class RangedModel extends javax.swing.JPanel {
  
      DefaultBoundedRangeModel myModel;
  
      public static void main(String[] args) {
          java.awt.EventQueue.invokeLater(new Runnable() {
              public void run() {
                  new RangedModel().setVisible(true);
              }
         });
      }
  
      /**
       * Creates new form RangedModel
       */
      public RangedModel() {
          myModel = new DefaultBoundedRangeModel(123, 100, 0, 1000);
          initComponents();
      }
  
      /**
       * This method is called from within the constructor to initialize the form.
       * WARNING: Do NOT modify this code. The content of this method is always
       * regenerated by the Form Editor.
       */
  
      private void initComponents() { 
      This is just the automated netbeans code from the GUI builder (edited out for the post)            
      }
  </code></pre>