ee.getLocalizedMessage(),
JOptionPane.ERROR_MESSAGE);
} catch (InterruptedException ie) {
} catch (TimeoutException te) {
JOptionPane.showMessageDialog(frame,
String.format("Connection to \"%s\" failed",
ee.getLocalizedMessage(),
JOptionPane.ERROR_MESSAGE);
} catch (InterruptedException ie) {
} catch (TimeoutException te) {
JOptionPane.showMessageDialog(frame,
String.format("Connection to \"%s\" failed",