diff --git a/plugins/TestingList.java b/plugins/TestingList.java index ed35bbd..acad76e 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -67,9 +67,6 @@ import org.apache.commons.io.FilenameUtils; import org.python.core.PyList; import static org.python.bouncycastle.util.Arrays.append; import java.util.Collections; -import java.awt.Desktop; -import java.net.URI; -import java.net.URISyntaxException; // /** @@ -1443,13 +1440,11 @@ public class TestingList extends Panel { }//GEN-LAST:event_jMenuItemDeselectActionPerformed private void jButtonLogActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonLogActionPerformed - if (Desktop.isDesktopSupported()) { - try { - Desktop.getDesktop().browse(new URI("http://city.psi.ch:1100")); - } catch (URISyntaxException | IOException ex) { - Logger.getLogger(TestingList.class.getName()).log(Level.SEVERE, null, ex); - } - } + try { + Process p = Runtime.getRuntime().exec(new String[]{"bash","chromium-browser","http://city.psi.ch:1100"}); + } catch (IOException ex) { + Logger.getLogger(TestingList.class.getName()).log(Level.SEVERE, null, ex); + } }//GEN-LAST:event_jButtonLogActionPerformed //