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