Skip to content

Commit f3a7049

Browse files
committed
Set 0xdata button to open docs instead of 0xdata page.
Don't do any browser stuff when stopping h2o.
1 parent ba55ef0 commit f3a7049

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed
Binary file not shown.

launcher/src/H2OLauncher.java

+7-5
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void actionPerformed(ActionEvent actionEvent) {
7575
@Override
7676
public void actionPerformed(ActionEvent actionEvent) {
7777
try {
78-
URI uri = new URI("http://0xdata.com");
78+
URI uri = new URI("http://docs.0xdata.com");
7979
Desktop.getDesktop().browse(uri);
8080
} catch (Exception e) {
8181
}
@@ -162,10 +162,12 @@ public void notifyHttp(final String s) {
162162
javax.swing.SwingUtilities.invokeLater(new Runnable() {
163163
public void run() {
164164
// browserField.setText(s);
165-
try {
166-
URI uri = new URI(s);
167-
Desktop.getDesktop().browse(uri);
168-
} catch (Exception e) {
165+
if ((s != null) && (s.length() > 0)) {
166+
try {
167+
URI uri = new URI(s);
168+
Desktop.getDesktop().browse(uri);
169+
} catch (Exception e) {
170+
}
169171
}
170172
}
171173
});

0 commit comments

Comments
 (0)