Ignore:
Timestamp:
2009-07-27T18:50:48+02:00 (15 years ago)
Author:
Gubaer
Message:

added diagnostic messages for #3109 - window order generally messed up?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/RenameLayerAction.java

    r1847 r1861  
    6565        final JDialog dlg = optionPane.createDialog(Main.parent, tr("Rename layer"));
    6666        dlg.setModal(true);
    67         dlg.setAlwaysOnTop(true);
     67        try {
     68            dlg.setAlwaysOnTop(true);
     69        } catch(SecurityException ex) {
     70            System.out.println(tr("Warning: failed to put a dialog always on top. Exception was: {0}", ex.toString()));
     71        }
    6872        dlg.toFront();
    6973        dlg.setVisible(true);
Note: See TracChangeset for help on using the changeset viewer.