Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. public class SobrietyFX extends Application {
  2.  
  3.     @Override
  4.     public void start(Stage stage) throws Exception {
  5.         Parent root = FXMLLoader.load(getClass().getResource("SobrietyUI.fxml"));
  6.         Scene scene = new Scene(root);
  7.         stage.setScene(scene);
  8.         stage.setFullScreen(true);
  9.         stage.show();
  10.     }
  11.  
  12.     public static void main(String[] args) {
  13.         launch(args);
  14.     }
  15. }