Skip to content
Snippets Groups Projects
Commit fa70b226 authored by NikolaBabic's avatar NikolaBabic
Browse files

Added the thread start for OSInterface to Main

parent bf2bafb0
No related branches found
No related tags found
2 merge requests!45Prototype to Master for Milestone 5,!41Feature OS interface
......@@ -3,6 +3,7 @@ import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import model.OSInterface;
public class Main extends Application {
......@@ -16,6 +17,11 @@ public class Main extends Application {
public static void main(String[] args) {
Thread thread = new Thread(OSInterface.getInstance());
thread.start();
launch(args);
OSInterface.getInstance().stop();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment