Ignore:
Timestamp:
2018-08-13T02:18:54+02:00 (6 years ago)
Author:
Don-vip
Message:

see #15229 - deprecate Main.parent and Main itself

File:
1 edited

Legend:

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

    r13050 r14153  
    1616import javax.swing.JOptionPane;
    1717
    18 import org.openstreetmap.josm.Main;
    1918import org.openstreetmap.josm.actions.OpenLocationAction;
    2019import org.openstreetmap.josm.data.Bounds;
     
    4039            if (b == null) {
    4140                JOptionPane.showMessageDialog(
    42                         Main.parent,
     41                        MainApplication.getMainFrame(),
    4342                        tr("Ignoring malformed URL: \"{0}\"", s),
    4443                        tr("Warning"),
     
    6059                Logging.warn(e);
    6160                JOptionPane.showMessageDialog(
    62                         Main.parent,
     61                        MainApplication.getMainFrame(),
    6362                        tr("Ignoring malformed file URL: \"{0}\"", s),
    6463                        tr("Warning"),
     
    127126        if (!GraphicsEnvironment.isHeadless()) {
    128127            JOptionPane.showMessageDialog(
    129                     Main.parent,
     128                    MainApplication.getMainFrame(),
    130129                    tr("Parameter \"downloadgps\" does not accept file names or file URLs"),
    131130                    tr("Warning"),
Note: See TracChangeset for help on using the changeset viewer.