Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package cz.vutbr.feec.bmds.cv4;
- import javafx.application.Application;
- import javafx.fxml.FXMLLoader;
- import javafx.stage.Stage;
- import javafx.scene.Parent;
- import javafx.scene.Scene;
- public class Main extends Application {
- @Override
- public void start(Stage primaryStage) {
- try {
- Parent root = FXMLLoader.load(getClass().getResource("VideoPlayer.fxml"));
- Scene scene = new Scene(root,400,400);
- primaryStage.setScene(scene);
- primaryStage.show();
- } catch(Exception e) {
- e.printStackTrace();
- }
- }
- public static void main(String[] args) {
- launch(args);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement