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/help/HelpBrowser.java

    r13844 r14153  
    4444import javax.swing.text.html.StyleSheet;
    4545
    46 import org.openstreetmap.josm.Main;
    4746import org.openstreetmap.josm.actions.JosmAction;
    4847import org.openstreetmap.josm.gui.HelpAwareOptionPane;
     
    384383                Logging.warn(e);
    385384                HelpAwareOptionPane.showOptionDialog(
    386                         Main.parent,
     385                        MainApplication.getMainFrame(),
    387386                        tr(
    388387                                "<html>Failed to open help page for url {0}.<br>"
     
    469468                if (!GraphicsEnvironment.isHeadless()) {
    470469                    JOptionPane.showMessageDialog(
    471                             Main.parent,
     470                            MainApplication.getMainFrame(),
    472471                            message,
    473472                            tr("Warning"),
Note: See TracChangeset for help on using the changeset viewer.