} else if (cmd.startsWith("!")) {
//javax.swing.JOptionPane.showMessageDialog(null, String.format("http://localhost:%s/%s", port, contextPath));
ti.displayMessage("TJWS", getResource("label_opening") + cmd.substring(1), TrayIcon.MessageType.INFO);
Desktop desktop = Desktop.getDesktop();
// TODO obtain host name, like inetaddress
desktop.browse(new URI(String.format("http://%s:%s/%s", "localhost", port, cmd.substring(1))));
} //else
//javax.swing.JOptionPane.showMessageDialog(null, "Command "+event.getActionCommand());
} catch (URISyntaxException e) {
//e.printStackTrace();
} catch (IOException e) {