How to call JDialog with Netbeans

Posted by Raptrex on Stack Overflow See other posts from Stack Overflow or by Raptrex
Published on 2010-05-15T18:46:08Z Indexed on 2010/05/15 18:54 UTC
Read the original article Hit count: 583

Filed under:
|
|

Yesterday I asked this question: Is this possible to make as an option dialog?

and I learned it could be made with JDialog. I'm using Netbeans GUI editor and made a button that will call my custom JDialog I designed in the GUI editor. The JDialog is called jDialog1. How do I call the jDialog1 with the button?

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
    // TODO add your handling code here:
}

© Stack Overflow or respective owner

Related posts about java

Related posts about jdialog