Closedown
This commit is contained in:
@@ -67,9 +67,6 @@ import org.apache.commons.io.FilenameUtils;
|
|||||||
import org.python.core.PyList;
|
import org.python.core.PyList;
|
||||||
import static org.python.bouncycastle.util.Arrays.append;
|
import static org.python.bouncycastle.util.Arrays.append;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.awt.Desktop;
|
|
||||||
import java.net.URI;
|
|
||||||
import java.net.URISyntaxException;
|
|
||||||
//</editor-fold>
|
//</editor-fold>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1443,12 +1440,10 @@ public class TestingList extends Panel {
|
|||||||
}//GEN-LAST:event_jMenuItemDeselectActionPerformed
|
}//GEN-LAST:event_jMenuItemDeselectActionPerformed
|
||||||
|
|
||||||
private void jButtonLogActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonLogActionPerformed
|
private void jButtonLogActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonLogActionPerformed
|
||||||
if (Desktop.isDesktopSupported()) {
|
try {
|
||||||
try {
|
Process p = Runtime.getRuntime().exec(new String[]{"bash","chromium-browser","http://city.psi.ch:1100"});
|
||||||
Desktop.getDesktop().browse(new URI("http://city.psi.ch:1100"));
|
} catch (IOException ex) {
|
||||||
} catch (URISyntaxException | IOException ex) {
|
Logger.getLogger(TestingList.class.getName()).log(Level.SEVERE, null, ex);
|
||||||
Logger.getLogger(TestingList.class.getName()).log(Level.SEVERE, null, ex);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}//GEN-LAST:event_jButtonLogActionPerformed
|
}//GEN-LAST:event_jButtonLogActionPerformed
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user