title: How to open JDialog form in netbeans?
body: <p>I've built class <code>JDialog form(diglog_promotion)</code> of Swing GUI, and a button. I want <code>JDialog</code> form showing when I click button so I've coded </p>
  
  <pre><code>dialog_promotion f = new dialog_promotion();                  
  f.setVisible(true);
  </code></pre>
  
  <p>after I click button, it threw an error :</p>
  
  <blockquote>
    <p>NOT SUPPORTED YET</p>
  </blockquote>
  
  <p>and I tried to use it with eclipe it works<br>
  what was I wrong?</p>