daily pastebin goal
24%
SHARE
TWEET

Main

a guest Oct 12th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package cz.vutbr.feec.bmds.cv4;
  2.    
  3. import javafx.application.Application;
  4. import javafx.fxml.FXMLLoader;
  5. import javafx.stage.Stage;
  6. import javafx.scene.Parent;
  7. import javafx.scene.Scene;
  8.  
  9.  
  10. public class Main extends Application {
  11.    
  12.  
  13.  
  14.     @Override
  15.     public void start(Stage primaryStage) {
  16.         try {
  17.             Parent root = FXMLLoader.load(getClass().getResource("VideoPlayer.fxml"));
  18.             Scene scene = new Scene(root,400,400);         
  19.             primaryStage.setScene(scene);
  20.             primaryStage.show();
  21.         } catch(Exception e) {
  22.             e.printStackTrace();
  23.         }
  24.     }
  25.    
  26.    
  27.     public static void main(String[] args) {
  28.         launch(args);
  29.        
  30.        
  31.        
  32.     }
  33.    
  34.    
  35. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top