Skip to content
Snippets Groups Projects
Commit d6f1fd21 authored by Dilsan Mahadeva's avatar Dilsan Mahadeva
Browse files

Main Program

parent a80af767
No related branches found
No related tags found
No related merge requests found
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
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