diff --git a/client/src/com/mirth/connect/client/ui/FirstLoginDialog.java b/client/src/com/mirth/connect/client/ui/FirstLoginDialog.java index 8d340c0bf..ed38d612d 100644 --- a/client/src/com/mirth/connect/client/ui/FirstLoginDialog.java +++ b/client/src/com/mirth/connect/client/ui/FirstLoginDialog.java @@ -184,13 +184,9 @@ public void actionPerformed(java.awt.event.ActionEvent evt) { contentTextPane.setEditable(false); contentTextPane.addHyperlinkListener(new HyperlinkListener() { public void hyperlinkUpdate(HyperlinkEvent evt) { - if (evt.getEventType() == EventType.ACTIVATED && Desktop.isDesktopSupported()) { + if (evt.getEventType() == EventType.ACTIVATED) { try { - if (Desktop.isDesktopSupported()) { - Desktop.getDesktop().browse(evt.getURL().toURI()); - } else { - BareBonesBrowserLaunch.openURL(evt.getURL().toString()); - } + BareBonesBrowserLaunch.openURL(evt.getURL().toString()); } catch (Exception e) { e.printStackTrace(); }