Examples of showDialog()


Examples of net.sourceforge.cruisecontrol.gui.panels.AboutPanel.showDialog()

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

    /**
     *
     */
 
View Full Code Here

Examples of net.sourceforge.cruisecontrol.gui.panels.configuration.ServersConfiguration.showDialog()

      }
    }
   
    public void configureServers() {
    ServersConfiguration theConfigurationPanel = new ServersConfiguration();
    theConfigurationPanel.showDialog( (JFrame) SwingUtilities.getRoot(this),
                                      "Configure Server(s) to monitor",
                                      true );
       
    if ( !theConfigurationPanel.wasCancelPressed() ) {
          getContentPanel().updateServers();
View Full Code Here

Examples of net.sourceforge.marathon.screencapture.AnnotateScreenCapture.showDialog()

                            JOptionPane.showMessageDialog(null, "Could not create a screen capture");
                            return;
                        }
                        try {
                            AnnotateScreenCapture annotate = new AnnotateScreenCapture(captureFile, true);
                            if (annotate.showDialog() == AnnotateScreenCapture.APPROVE_OPTION) {
                                annotate.saveToFile(captureFile);
                                checklist.setCaptureFile(captureFile.getName());
                            }
                        } catch (IOException e1) {
                            e1.printStackTrace();
View Full Code Here

Examples of net.sourceforge.sijaf.dialogs.ConfirmActionCtrl.showDialog()

    if (isDirty()) {
      ConfirmActionModel actModel = getNewConfirmActionModel();
      ConfirmActionReceiver actReceiver = new ConfirmNewActionReceiver();
      ConfirmActionCtrl actCtrl =
              new ConfirmActionCtrl(actModel, mainFrame, actReceiver);
      actCtrl.showDialog();
    } else {
      performNewFileAction();
    }
  }
View Full Code Here

Examples of net.xoetrope.swing.XDialog.showDialog()

        m_productsList.ensureIndexIsVisible(m_productsList.getItemCount());
        m_productsList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        m_productsList.setToolTipText(UtilProperties.getMessage(PosTransaction.resource, "PosSelectProductListDblClickTip", Locale.getDefault()));

        dlg.pack();
        dlg.showDialog(this);
        return m_productIdSelected;
    }

    public synchronized void DoubleClick() {
        if (wasMouseDoubleClicked()) {
View Full Code Here

Examples of nz.co.transparent.client.gui.util.ChangePasswordDialog.showDialog()

    Map userMap = null;
    int tries = 0;
   
    try {
      while (true) {
        passwordMap = passwordDialog.showDialog();
        if (((Boolean) passwordMap.get("isOkPressed")).equals(Boolean.FALSE)) {
          return;
        }
 
        if (!passwordMap.get("password1").equals(passwordMap.get("password2"))) {
View Full Code Here

Examples of nz.co.transparent.client.gui.util.PasswordOnlyDialog.showDialog()

    SystemDBController systemController = SystemDBController.getInstance();
    PasswordOnlyDialog dialog = new PasswordOnlyDialog(this, "Password");
    int i =0;
   
    while (true) {
      password = dialog.showDialog();
     
      if (password == null) {
        return false;
      }
     
View Full Code Here

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

    } else {
      fileChooser = new AdditiveLoadFileOrUrlChooser(allowURL);
    }

    // Was a file chosen or a URL string accepted?
    boolean approved = fileChooser.showDialog(Mediator.getUI()
        .getComponent()) || fileChooser.isUrlProvided();

    return approved ? fileChooser : null;
  }
}
View Full Code Here

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

    return new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        try {
          PhaseParameterDialog phaseDialog = Mediator.getInstance()
              .getPhaseParameterDialog();
          phaseDialog.showDialog();
          if (!phaseDialog.isCancelled()) {
            double period = phaseDialog.getPeriod();
            double epoch = phaseDialog.getEpoch();
            Mediator.getUI().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
           
View Full Code Here

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

          // Prompt user for star and JD range selection.
          Mediator.getUI().getStatusPane().setMessage(
              LocaleProps.get("STATUS_PANE_SELECT_STAR"));
          StarSelectorDialog starSelectorDialog = StarSelectorDialog
              .getInstance();
          starSelectorDialog.showDialog();

          if (!starSelectorDialog.isCancelled()) {
            String starName = starSelectorDialog.getStarName();
            String auid = starSelectorDialog.getAuid();
            double minJD, maxJD;
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.