|
|
@ -96,7 +96,7 @@ public class YaCyApp {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static void start(String host, int port) {
|
|
|
|
public static void start(final String host, final int port) {
|
|
|
|
|
|
|
|
|
|
|
|
Switchboard.startInfoUpdater();
|
|
|
|
Switchboard.startInfoUpdater();
|
|
|
|
operation = new Op(app, host, port);
|
|
|
|
operation = new Op(app, host, port);
|
|
|
@ -137,7 +137,7 @@ public class YaCyApp {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void run() {
|
|
|
|
public void run() {
|
|
|
|
Thread.currentThread().setName("YaCyApp");
|
|
|
|
Thread.currentThread().setName("YaCyApp");
|
|
|
|
app = new Application("YaCy GUI", operation, menues, new InfoPage("localhost", 8090));
|
|
|
|
app = new Application("YaCy GUI", operation, menues, new InfoPage(host, port));
|
|
|
|
app.setLocationRelativeTo(null);
|
|
|
|
app.setLocationRelativeTo(null);
|
|
|
|
app.setVisible(true);
|
|
|
|
app.setVisible(true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|