package pro.simpleproject.core.start;

public class Start {

}

@@ -36,28 +36,911 @@
 t;%0A%0A
-public class Start %7B
+import javafx.application.Application;%0Aimport javafx.application.Platform;%0Aimport javafx.scene.Scene;%0Aimport javafx.stage.Stage;%0Aimport javafx.stage.StageStyle;%0Aimport pro.simpleproject.core.helper.ResizeHelper;%0Aimport pro.simpleproject.core.primary.PrimaryPaneBuilder;%0Aimport pro.simpleproject.core.tray.TrayBuilder;%0A%0Apublic class Start extends Application %7B%0A%0A%09private static Stage stage;%0A%0A%09public static Stage getStage() %7B%0A%09%09return stage;%0A%09%7D%0A%0A%09@Override%0A%09public void start(Stage arg) %7B%0A%09%09try %7B%0A%09%09%09stage = arg;%0A%09%09%09Scene scene = new Scene(new PrimaryPaneBuilder().build(), 800, 600);%0A%09%09%09scene.getStylesheets().add(getClass().getResource(%22start.css%22).toExternalForm());%0A%09%09%09stage.initStyle(StageStyle.TRANSPARENT);%0A%09%09%09stage.setScene(scene);%0A%09%09%09ResizeHelper.resize(stage);%0A%09%09%09stage.show();%0A%09%09%09TrayBuilder.build();%0A%09%09%09Platform.setImplicitExit(false);%0A%09%09%7D catch (Exception e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%09%7D
 %0A%0A%7D%0A

Update Start.java