Package org.openstreetmap.josm.gui

Examples of org.openstreetmap.josm.gui.PleaseWaitDialog


          screenDimension.width, screenDimension.height)
          : new Rectangle(1000, 740);

    // preinitialize a wait dialog for all early downloads (e.g. via command
    // line)
    pleaseWaitDlg = new PleaseWaitDialog(null);
  }
View Full Code Here


  public void postConstructorProcessCmdLine(
      Map<String, Collection<String>> args) {
    // initialize the pleaseWaitDialog with the application as parent to
    // handle focus stuff
    pleaseWaitDlg = new PleaseWaitDialog(parent);

    if (args.containsKey("download"))
      for (String s : args.get("download"))
        downloadFromParamString(false, s);
    if (args.containsKey("downloadgps"))
View Full Code Here

        doInEDT(new Runnable() {
            @Override
            public void run() {
                Main.currentProgressMonitor = PleaseWaitProgressMonitor.this;
                if (dialogParent instanceof Frame && dialog == null) {
                    dialog = new PleaseWaitDialog(dialogParent);
                } else if (dialogParent instanceof Dialog && dialog == null) {
                    dialog = new PleaseWaitDialog(dialogParent);
                } else
                    throw new ProgressException("PleaseWaitDialog parent must be either Frame or Dialog");

                if (windowTitle != null) {
                    dialog.setTitle(windowTitle);
View Full Code Here

TOP

Related Classes of org.openstreetmap.josm.gui.PleaseWaitDialog

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.