Ignore:
Timestamp:
2016-03-23T22:36:15+01:00 (3 years ago)
Author:
Don-vip
Message:

code refactoring to ease creation of unit tests by avoiding as much as possible HeadlessException

File:
1 edited

Legend:

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

    r9602 r10035  
    1717import javax.swing.JDialog;
    1818import javax.swing.JLabel;
    19 import javax.swing.JOptionPane;
    2019import javax.swing.JPanel;
    2120import javax.swing.KeyStroke;
     
    2928import org.openstreetmap.josm.gui.help.ContextSensitiveHelpAction;
    3029import org.openstreetmap.josm.gui.help.HelpUtil;
     30import org.openstreetmap.josm.gui.util.GuiHelper;
    3131import org.openstreetmap.josm.tools.ImageProvider;
    3232
     
    4949     */
    5050    public HistoryBrowserDialog(History history) {
    51         super(JOptionPane.getFrameForComponent(Main.parent), false);
     51        super(GuiHelper.getFrameForComponent(Main.parent), false);
    5252        build();
    5353        setHistory(history);
Note: See TracChangeset for help on using the changeset viewer.