Ticket #3128: always-on-top.patch

File always-on-top.patch, 769 bytes (added by plaicy, 16 years ago)
  • src/org/openstreetmap/josm/gui/PleaseWaitDialog.java

     
    5757        // make sure this dialog is always on top of the main JOSM window
    5858        // and all the other windows (relation editors, detached dialogs, etc.)
    5959        //
    60         try {
    61             setAlwaysOnTop(true);
    62         } catch(SecurityException e) {
    63             System.out.println(tr("Warning: failed to put ''please wait dialog'' always on top. Exception was: {0}", e.toString()));
    64         }
     60        toFront();
    6561    }
    6662
    6763    public PleaseWaitDialog(Frame parent) {