Examples of ProgressDialog


Examples of com.sk89q.skmcl.swing.ProgressDialog

    private void createDialog() {
        SwingUtilities.invokeLater(new Runnable() {
            @Override
            public void run() {
                if (dialogRequested) {
                    dialog = new ProgressDialog(parent, workerService);
                    dialog.setVisible(true);
                }
            }
        });
    }
View Full Code Here

Examples of com.smoker.imagesearch.view.ProgressDialog

  }

  public void index()
  {
    imageDisplay.setMenuItemsEnabled(false, 2, 3, 4);
    progressDialog = new ProgressDialog(imageDisplay, ResourceStrings.ProgressMessageIndex);
    indexCreator.deleteObservers();
    indexCreator.addObserver(imageDisplay);
    indexCreator.addObserver(progressDialog);
    indexCreator.addObserver(this);
    taskHandler = new TaskHandler(indexCreator, this, "creator");
View Full Code Here

Examples of com.tulskiy.musique.gui.dialogs.ProgressDialog

      trackData.setTagFieldValues(FieldKey.DISC_TOTAL, rtm.getTrackDiscTotal(discogsTrack));
    }
  }

  private void writeTracks() {
        ProgressDialog dialog = new ProgressDialog(this, "Writing tags");
        dialog.show(new Task() {
            String status;
            boolean abort = false;
            public int processed;

            @Override
View Full Code Here

Examples of com.valhalla.gui.ProgressDialog

        script = manager.getScript();
        installDir = manager.getInstallDir();

        size = calculateSize(list);

        this.progress = new ProgressDialog(manager, resources
                .getString("downloading"), 0, (int) size + 1);
        JButton button = this.progress.getButton();
        button.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                progress.delete();
View Full Code Here

Examples of de.hpi.eworld.gui.ProgressDialog

  private void importFile() {
    // clear model before importing new data
    ModelManager.getInstance().clearModel();
   
    progressDialog = new ProgressDialog(
      this,
      "Loading map data from OSM file...",
      new CancelListener(this)
    );
View Full Code Here

Examples of de.hpi.eworld.gui.ProgressDialog

      public void actionPerformed(ActionEvent e) {
        closeDialog();
      }
    });
   
    progressDialog = new ProgressDialog(this, "Importing file...");
    progressDialog.setButtonText("Cancel");
   
    progressDialog.addWindowStateListener(new WindowStateListener() {
     
      @Override
View Full Code Here

Examples of de.hpi.eworld.gui.ProgressDialog

  private final int totalSize;
  private ProgressDialog progressDialog;

  public GraphControllerBatchWorker(final GraphController controller, final GraphModel model, final boolean osmDefaultValues, final boolean filterDuplicateEdges) {
   
    progressDialog = new ProgressDialog(null, "Updating graphics ...");
    progressDialog.setIconImage(ResourceLoader.createIconFromLocalResource(getClass().getClassLoader(), "globe-32x32.png").getImage());
   
    this.controller = controller;
    this.model = model;
    this.osmDefaultValues = osmDefaultValues;
View Full Code Here

Examples of de.hpi.eworld.gui.ProgressDialog

    includeTL = trafficLightsCheckBox.isSelected();
    withRoutes = routeFileCheckBox.isSelected();
 
    ModelManager model = ModelManager.getInstance();
   
    progressDialog = new ProgressDialog(this,
        "Loading SUMO file...",
        new CancelListener(this));

    progressDialog.setVisible(true);
    this.setVisible(false);
View Full Code Here

Examples of de.hpi.eworld.gui.ProgressDialog

    url.append(",");
    url.append(currentBounds.maxLon);
    url.append(",");
    url.append(currentBounds.maxLat);

    progressDialog = new ProgressDialog(
      this,
      "Downloading and processing map data from OSM...",
      this
    );
View Full Code Here

Examples of entagged.tageditor.ProgressDialog

      jButtonIndex = new JButton();
      jButtonIndex.setText(LangageManager.getProperty("miage.index"));
      jButtonIndex.setIcon( ResourcesRepository.getImageIcon("index.gif"));
      jButtonIndex.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent e) {
          final ProgressDialog progressDialog = new ProgressDialog(
              TagEdit, LangageManager.getProperty("miage.foldertoupdate"),
              LangageManager.getProperty("miage.updatingfolder"));
          progressDialog.setAbortable(false);
          progressDialog.hideAbortButton();
          progressDialog.setModal(true);
          new Thread(new Runnable() {
            public void run() {
              TreeUtil.ajoutdossier(myTreeSelectionListener.path);
              progressDialog.dispose();

            }
          }, LangageManager.getProperty("miage.updatingfolder")).start();
          progressDialog.setVisible(true);
          progressDialog.dispose();         
        }
      });     
    }
    return jButtonIndex;
  }
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.