package pro.simpleproject.core.primary;

public class PrimaryPaneBuilder {

}

@@ -38,41 +38,680 @@
 y;%0A%0A
-public class PrimaryPaneBuilder %7B
+import java.io.IOException;%0A%0Aimport javafx.fxml.FXMLLoader;%0Aimport javafx.scene.layout.AnchorPane;%0Aimport javafx.scene.layout.BorderPane;%0Aimport javafx.scene.layout.Pane;%0A%0Apublic class PrimaryPaneBuilder %7B%0A%0A%09private static BorderPane pane;%0A%0A%09public static BorderPane getPane() %7B%0A%09%09return pane;%0A%09%7D%0A%0A%09public Pane build() throws IOException %7B%0A%09%09pane = (BorderPane) FXMLLoader.load(getClass().getResource(%22primary.fxml%22));%0A%09%09AnchorPane root = new AnchorPane(pane);%0A%09%09AnchorPane.setLeftAnchor(pane, 3.0);%0A%09%09AnchorPane.setRightAnchor(pane, 3.0);%0A%09%09AnchorPane.setTopAnchor(pane, 3.0);%0A%09%09AnchorPane.setBottomAnchor(pane, 3.0);%0A%09%09root.getStyleClass().add(%22base%22);%0A%09%09return root;%0A%09%7D
 %0A%0A%7D%0A

Update PrimaryPaneBuilder.java