Skip to content

Commit

Permalink
Set 0xdata button to open docs instead of 0xdata page.
Browse files Browse the repository at this point in the history
Don't do any browser stuff when stopping h2o.
  • Loading branch information
tomkraljevic committed Aug 20, 2013
1 parent ba55ef0 commit f3a7049
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Binary file modified launcher/out/artifacts/H2OLauncher_jar/H2OLauncher.jar
Binary file not shown.
12 changes: 7 additions & 5 deletions launcher/src/H2OLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void actionPerformed(ActionEvent actionEvent) {
@Override
public void actionPerformed(ActionEvent actionEvent) {
try {
URI uri = new URI("http://0xdata.com");
URI uri = new URI("http://docs.0xdata.com");
Desktop.getDesktop().browse(uri);
} catch (Exception e) {
}
Expand Down Expand Up @@ -162,10 +162,12 @@ public void notifyHttp(final String s) {
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
// browserField.setText(s);
try {
URI uri = new URI(s);
Desktop.getDesktop().browse(uri);
} catch (Exception e) {
if ((s != null) && (s.length() > 0)) {
try {
URI uri = new URI(s);
Desktop.getDesktop().browse(uri);
} catch (Exception e) {
}
}
}
});
Expand Down

0 comments on commit f3a7049

Please sign in to comment.