Package entagged.tageditor

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


      jButtonDesindex.setText(LangageManager.getProperty("miage.unindex"));
      jButtonDesindex.setIcon( ResourcesRepository.getImageIcon("noindex.gif"));
      jButtonDesindex.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.supprimerdossier(myTreeSelectionListener.path);
              progressDialog.dispose();

            }
          }, LangageManager.getProperty("miage.updatingfolder")).start();
          progressDialog.setVisible(true);
          progressDialog.dispose();             
        }
      });     
    }
    return jButtonDesindex;
  }
View Full Code Here

   *
   * @return a progress dialog.
   */
  protected ProgressDialog getProgressDialog() {
    if (this.progressDialog == null) {
      this.progressDialog = new ProgressDialog(tagEditorFrame,
          "Progress", "Starting");
      this.progressDialog.setAbortable(true);
      this.progressDialog.setModal(true);
    }
    return this.progressDialog;
View Full Code Here

TOP

Related Classes of entagged.tageditor.ProgressDialog

Copyright © 2018 www.massapicom. 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.