Skip to content
Snippets Groups Projects
main.java 748 B
Newer Older
Dilsan Mahadeva's avatar
Dilsan Mahadeva committed
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);
  }  
}