Ignore:
Timestamp:
2012-02-14T21:27:53+01:00 (8 years ago)
Author:
stoecker
Message:

fix 6833 - use WindowGeometry for toggle dialogs and mainwindow replacing old custom methods, improve dual screen handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/HistoryBrowserDialogManager.java

    r4760 r4932  
    7474    public void placeOnScreen(HistoryBrowserDialog dialog) {
    7575        WindowGeometry geometry = WindowGeometry.centerOnScreen(new Dimension(800,500));
    76         geometry.apply(dialog);
     76        geometry.applySafe(dialog);
    7777        Point p = dialog.getLocation();
    7878        while(hasDialogWithCloseUpperLeftCorner(p)) {
Note: See TracChangeset for help on using the changeset viewer.