- Timestamp:
- 2016-02-14T23:06:07+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/AudioPlayer.java
r9779 r9803 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import java.awt.GraphicsEnvironment;7 6 import java.io.IOException; 8 7 import java.net.URL; … … 379 378 msg = tr(msg); 380 379 Main.error(msg); 381 if (!GraphicsEnvironment.isHeadless()) {380 //if (!GraphicsEnvironment.isHeadless()) { 382 381 JOptionPane.showMessageDialog(Main.parent, 383 382 "<html><p>" + msg + "</p></html>", 384 383 tr("Error playing sound"), JOptionPane.ERROR_MESSAGE); 385 }384 //} 386 385 } 387 386 }
Note:
See TracChangeset
for help on using the changeset viewer.