Commit f3a7049 1 parent ba55ef0 commit f3a7049 Copy full SHA for f3a7049
File tree 2 files changed +7
-5
lines changed
out/artifacts/H2OLauncher_jar
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public void actionPerformed(ActionEvent actionEvent) {
75
75
@ Override
76
76
public void actionPerformed (ActionEvent actionEvent ) {
77
77
try {
78
- URI uri = new URI ("http://0xdata.com" );
78
+ URI uri = new URI ("http://docs. 0xdata.com" );
79
79
Desktop .getDesktop ().browse (uri );
80
80
} catch (Exception e ) {
81
81
}
@@ -162,10 +162,12 @@ public void notifyHttp(final String s) {
162
162
javax .swing .SwingUtilities .invokeLater (new Runnable () {
163
163
public void run () {
164
164
// 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
+ }
169
171
}
170
172
}
171
173
});
You can’t perform that action at this time.
0 commit comments