1. jDialog created without content forums.netbeans.org@Action public void showNewEmployeeBox() { if (employeeBox == null) { ... |
2. Dialogs freezing GUI forums.netbeans.orgThere are two possabilities for showing a standard dialog: 1.) DialogDisplayer.getDefault().createDialog(ND) 2.) DialogDisplayer.getDefault().notifylater() The advantage from the first one is that I am getting a JDialog object which I can later on dispose(). The second option needs pressing one of the supplied buttons. If I use the first option and call setVisible() the hole GUI is freezing for a second until ... |