Ignore:
Timestamp:
2016-03-03T23:06:36+01:00 (8 years ago)
Author:
Don-vip
Message:

better handling of HelpAwareOptionPane.showOptionDialog in headless mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/gpx/DownloadAlongPanel.java

    r9804 r9917  
    55
    66import java.awt.Dimension;
    7 import java.awt.GraphicsEnvironment;
    87import java.awt.GridBagLayout;
    98
     
    186185        });
    187186
    188         int ret = 0;
    189         if (!GraphicsEnvironment.isHeadless()) {
    190             ret = HelpAwareOptionPane.showOptionDialog(Main.parent, this, title,
     187        int ret = HelpAwareOptionPane.showOptionDialog(Main.parent, this, title,
    191188                    JOptionPane.QUESTION_MESSAGE, null, options, options[0], helpTopic);
    192         }
    193189        if (0 == ret) {
    194190            rememberSettings();
Note: See TracChangeset for help on using the changeset viewer.