Page MenuHomec4science

ServerApp.java
No OneTemporary

File Metadata

Created
Tue, Jan 7, 01:19

ServerApp.java

import java.awt.EventQueue;
import ui.ServerGUI;
import utils.ServerProperties;
import framework.Server;
public class ServerApp {
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
ServerGUI window = new ServerGUI();
window.setFrameVisible();
ServerProperties props = new ServerProperties("config/config_server.fry.properties");
Server s = new Server(window, props);
Thread t = new Thread(s);
t.start();
} catch (Exception e) {
e.printStackTrace();
}
}
});
}
}

Event Timeline