Examples of showDialog()


Examples of org.aavso.tools.vstar.ui.dialog.prefs.PreferencesDialog.showDialog()

   */
  public ActionListener createPrefsListener() {
    return new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        PreferencesDialog prefsDialog = PreferencesDialog.getInstance();
        prefsDialog.showDialog();
      }
    };
  }

  /**
 
View Full Code Here

Examples of org.apache.batik.apps.svgbrowser.NodePickerPanel.NameEditorDialog.showDialog()

            public void actionPerformed(ActionEvent e) {
                // Prompt for the node name
                NameEditorDialog nameEditorDialog = new NameEditorDialog(
                        DOMViewer.this);
                nameEditorDialog.setLocationRelativeTo(DOMViewer.this);
                int results = nameEditorDialog.showDialog();
                if (results == NameEditorDialog.OK_OPTION) {
                    Element elementToAdd = document.createElementNS(
                            SVGConstants.SVG_NAMESPACE_URI, nameEditorDialog
                                    .getResults());
                    if (rightPanel.getComponentCount() != 0) {
View Full Code Here

Examples of org.arch4j.ui.components.PropertiesPanel.showDialog()

        getContentPanel().resumeBuildOnProjects();
    }
   
  public void launchAbout() {
        PropertiesPanel theAboutPanel = new AboutPanel();
        theAboutPanel.showDialog( this, "About" );
    }

    /**
     *
     */
 
View Full Code Here

Examples of org.jamesii.gui.experiment.dialogs.CreateNewExperimentDialog.showDialog()

  @Override
  public void execute() {
    CreateNewExperimentDialog newExpDialog =
        new CreateNewExperimentDialog(null, null);
    BaseExperiment experiment = newExpDialog.showDialog();
    if (experiment == null) {
      return;
    }
    winManager.addWindow(new ExperimentEditor(experiment, null, null));
  }
View Full Code Here

Examples of org.jdesktop.swingx.JXTipOfTheDay.showDialog()

    @org.jdesktop.application.Action
    public void displayTipDialog() {
        JXTipOfTheDay totd = new JXTipOfTheDay(model);
        totd.setCurrentTip(0);
        totd.showDialog(this);
    }
}
View Full Code Here

Examples of org.netbeans.api.validation.adapters.DialogBuilder.showDialog()

        }
        X x = new X();
        mgr.addPropertyChangeListener( x );
        grp.addItem( x, true );
        DialogBuilder b = new DialogBuilder( NodeJSProject.class ).setModal( true ).setContent( ep ).setValidationGroup( grp ).setTitle( NbBundle.getMessage( NodeJSProject.class, "CHOOSE_NO_MAIN_FILE" ) ).setDialogType( DialogType.QUESTION );
        if (b.showDialog( NotifyDescriptor.OK_OPTION ) && mgr.getSelectedNodes().length == 1) {
            Node n = mgr.getSelectedNodes()[0];
            FileObject fo = n.getLookup().lookup( DataObject.class ).getPrimaryFile();
            return fo;
        }
        return null;
View Full Code Here

Examples of org.netbeans.modules.languages.pl_sql.editor.OConnectionJPanel.ShowDialog()

        }
    }

    public void Add() {
        OConnectionJPanel oc = new OConnectionJPanel();
        oc.ShowDialog(this);
        if (oc.getIsSaved()) {
            Refresh();
        }
    }
View Full Code Here

Examples of org.netbeans.modules.languages.pl_sql.editor.PasswordJPanel.ShowDialog()

                        connecting = true;
                        boolean connect = true;
                        OracleDataSource ods = getOracleDataSource();
                        if (!getSavePassword()) {
                            PasswordJPanel pjp = new PasswordJPanel();
                            pjp.ShowDialog(getUserName());
                            connect =
                                    pjp.getisOK();
                            if (connect) {
                                ods.setPassword(pjp.getPassword());
                            }
View Full Code Here

Examples of org.netbeans.modules.php.wordpress.ui.wizards.CreateUnderscoresThemePanel.showDialog()

        // get existing theme names
        Set<String> existingThemeNames = getExistingThemeNames(themesDirectory);

        // create dialog
        CreateUnderscoresThemePanel panel = new CreateUnderscoresThemePanel(existingThemeNames);
        panel.showDialog();
        if (!panel.isOK()) {
            return;
        }

        // click OK
View Full Code Here

Examples of org.netbeans.modules.versioning.util.AccessibleJFileChooser.showDialog()

    FileFilter[] old = fileChooser.getChoosableFileFilters();
    for (int i = 0; i < old.length; i++) {
        FileFilter fileFilter = old[i];
        fileChooser.removeChoosableFileFilter(fileFilter);
    }
    fileChooser.showDialog(this, NbBundle.getMessage(CustomVisualPanel.class, "OK_Button")); // NOI18N
    file = fileChooser.getSelectedFile();
    if (file != null) {
        pathText.setText(file.getAbsolutePath());
    }
}//GEN-LAST:event_pathBrowseButtonActionPerformed
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.