private void playSoundFile(String file) {
try {
InputStream is = getClass().getResourceAsStream(file);
Player p = Manager.createPlayer(is, "audio/x-wav");
p.start();
} catch (Exception e) {
//#ifdef debug
Alert a = new Alert("Exception", e.toString(), null, AlertType.INFO);
a.setTimeout(Alert.FOREVER);
display.setCurrent(a);