package application;
	
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;


public class Main extends Application {
	@Override
	public void start(Stage primaryStage) {
		try {
			BorderPane root = new BorderPane();
			Scene scene = new Scene(root,400,400);
			scene.getStylesheets().add(getClass().getResource("application.css").toExternalForm());
			primaryStage.setScene(scene);
			primaryStage.show();
		} catch(Exception e) {
			e.printStackTrace();
		}
	}
	
	public static void main(String[] args) {
		launch(args);
	}
}

@@ -13,18 +13,20 @@
 ication;
+%0D
 %0A%09
+%0D
 %0Aimport 
@@ -56,16 +56,17 @@
 ication;
+%0D
 %0Aimport 
@@ -76,88 +76,57 @@
 afx.
-stage.Stage;%0Aimport javafx.scene.Scene;%0Aimport javafx.scene.layout.BorderPane;%0A%0A
+fxml.FXMLLoader;%0D%0Aimport javafx.stage.Stage;%0D%0A%0D%0A%0D
 %0Apub
@@ -161,16 +161,17 @@
 cation %7B
+%0D
 %0A%09@Overr
@@ -173,16 +173,17 @@
 Override
+%0D
 %0A%09public
@@ -219,16 +219,17 @@
 e) %7B
+%0D
 %0A%09%09try %7B
 %0A%09%09%09
@@ -228,119 +228,52 @@
 ry %7B
+%0D
 %0A%09%09%09
-BorderPane root = new BorderPane();%0A%09%09%09Scene scene = new Scene(root,400,400);%0A%09%09%09scene.getStylesheets().add
+primaryStage.setScene (FXMLLoader.load 
 (get
@@ -277,16 +277,17 @@
 getClass
+ 
 ().getRe
@@ -296,79 +296,28 @@
 urce
+ 
 (%22
-application.css%22).toExternalForm());%0A%09%09%09primaryStage.setScene(scene
+Webcam.fxml%22))
 );
+%0D
 %0A%09%09%09
@@ -336,16 +336,17 @@
 .show();
+%0D
 %0A%09%09%7D cat
@@ -362,16 +362,17 @@
 ion e) %7B
+%0D
 %0A%09%09%09e.pr
@@ -391,17 +391,21 @@
 e();
+%0D
 %0A%09%09%7D
+%0D
 %0A%09%7D
+%0D
 %0A%09
+%0D
 %0A%09pu
@@ -442,16 +442,17 @@
  args) %7B
+%0D
 %0A%09%09launc
@@ -463,10 +463,13 @@
 gs);
+%0D
 %0A%09%7D
+%0D
 %0A%7D
+%0D
 %0A

Load fxml in main