class AbstractSimpleDialog extends JDialog {

    @Override
    public void setVisible(boolean b) {
        if (b && !initialized) {
            throw new IllegalStateException(
                    "Sub-class did not call initComponents() before showing dialog");
        }

        super.setVisible(b);
    }

    public  AbstractSimpleDialog(String title);
    public  AbstractSimpleDialog(JFrame parent, String title);
    public  AbstractSimpleDialog(JDialog parent, String title);
    public  AbstractSimpleDialog(JFrame parent, String title,
            boolean modal, boolean resizable);
    public  AbstractSimpleDialog(JDialog parent, String title,
            boolean modal, boolean resizable);

}