use of net.i2p.apps.systray.UrlLauncher in project i2p.i2p by i2p.
the class RunStandalone method start.
public void start() {
try {
_jettyStart.startup();
String url = "http://" + _host + ':' + _port + "/i2psnark/";
try {
Thread.sleep(1000);
} catch (InterruptedException ie) {
}
UrlLauncher launch = new UrlLauncher(_context, null, new String[] { url });
launch.startup();
} catch (Exception e) {
e.printStackTrace();
}
}
Aggregations