src/main/java/suwu/daopuerp/MainApplication.java
/**
     * The main entry point for all JavaFcaX applications.
     * The start method is called after the init method has returned,
     * and after the system is ready for the application to begin running.
     * <p>
     * <p>
     * NOTE: This method is called on the JavaFX Application Thread.
     * </p>
     *
     * @param primaryStage the primary stage for this application, onto which
     *                     the application scene can be set. The primary stage will be embedded in
     *                     the browser if the application was launched as an applet.
     *                     Applications may create other stages, if needed, but they will not be
     *                     primary stages and will not be embedded in the browser.
     */
The main entry point for all JavaFcaX applications.
The start method is called after the init method has returned,
and after the system is ready for the application to begin running.


NOTE: This method is called on the JavaFX Application Thread.

@param primaryStage the primary stage for this application, onto which
the application scene can be set. The primary stage will be embedded in
the browser if the application was launched as an applet.
Applications may create other stages, if needed, but they will not be
primary stages and will not be embedded in the browser.
The main entry point for all JavaFcaX applications . The start method is called after the init method has returned and after the system is ready for the application to begin running . NOTE : This method is called on the JavaFX Application Thread . @param primaryStage the primary stage for this application onto which the application scene can be set . The primary stage will be embedded in the browser if the application was launched as an applet . Applications may create other stages if needed but they will not be primary stages and will not be embedded in the browser .
@Override
    public void start(Stage primaryStage) throws Exception {
        StageManager.setStage(primaryStage);
        primaryStage.initStyle(StageStyle.UNDECORATED);
        FXMLLoader loader = new FXMLLoader();
        loader.setLocation(getClass().getResource("/fxml/loginui/LoginUi.fxml"));
        Scene newScene = new Scene(loader.load());
        LoginUiController controller = loader.getController();
        primaryStage.setScene(newScene);
        controller.initializeBorderlessStuff();
        primaryStage.show();
    }
@ Override public void start ( Stage primaryStage ) throws Exception { StageManager . setStage ( primaryStage ) ; primaryStage . initStyle ( StageStyle . UNDECORATED ) ; FXMLLoader loader = new FXMLLoader ( ) ; loader . setLocation ( getClass ( ) . getResource ( "/fxml/loginui/LoginUi.fxml" ) ) ; Scene newScene = new Scene ( loader . load ( ) ) ; LoginUiController controller = loader . getController ( ) ; primaryStage . setScene ( newScene ) ; controller . initializeBorderlessStuff ( ) ; primaryStage . show ( ) ; }
The main entry point for all JavaFcaX applications.
The main entry point for all JavaFcaX applications .