From d6f1fd212a6f05190c640a861de79dfb3fcaffe2 Mon Sep 17 00:00:00 2001 From: Dilsan Mahadeva <dilsan.mahadeva@ruhr-uni-bochum.de> Date: Wed, 10 May 2023 21:44:34 +0000 Subject: [PATCH] Main Program --- Src/main.java | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Src/main.java diff --git a/Src/main.java b/Src/main.java new file mode 100644 index 0000000..1eec34b --- /dev/null +++ b/Src/main.java @@ -0,0 +1,30 @@ +import javafx.application.Application; +import javafx.stage.Stage; +import javafx.scene.*; +import javafx.scene.layout.StackPane; +import javafx.fxml.FXMLLoader; + + +public class main extends Application { + @Override + public void start(Stage stage) throws Exception { + + Scene scene = new Scene(new StackPane()); + + FXMLLoader loader = new FXMLLoader(getClass().getResource("/tamil.fxml")); + scene.setRoot(loader.load()); + tamilController controller = loader.getController(); + controller.init(); + + stage.setScene(scene); + stage.setTitle("Tamil Transcription"); + stage.show(); + } + +/** +* @param args the command line arguments +*/ + public static void main(String[] args) { + launch(args); + } +} \ No newline at end of file -- GitLab