2024-03-08 10:20:49 +00:00
|
|
|
package com.zhangmeng.minio;
|
|
|
|
|
|
|
|
|
|
import com.zhangmeng.minio.utils.MinioUtils;
|
|
|
|
|
import javafx.application.Application;
|
|
|
|
|
import javafx.fxml.FXMLLoader;
|
|
|
|
|
import javafx.scene.Parent;
|
|
|
|
|
import javafx.scene.Scene;
|
2025-07-07 07:32:10 +00:00
|
|
|
import javafx.scene.layout.AnchorPane;
|
2024-03-08 10:20:49 +00:00
|
|
|
import javafx.stage.Stage;
|
2024-03-10 08:16:07 +00:00
|
|
|
|
2024-03-08 10:20:49 +00:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @author zhangmeng
|
|
|
|
|
* @version 1.0
|
|
|
|
|
* @date 2024-03-07 14:24
|
|
|
|
|
*/
|
|
|
|
|
public class MiniToolsApplication extends Application {
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void start(Stage primaryStage) throws Exception {
|
|
|
|
|
MinioUtils.objectMap.put(MinioUtils.primaryStage,primaryStage);
|
2025-07-07 07:32:10 +00:00
|
|
|
AnchorPane root = FXMLLoader.load(this.getClass().getResource("/fxml/main.fxml"));
|
2024-03-08 10:20:49 +00:00
|
|
|
primaryStage.setScene(new Scene(root));
|
|
|
|
|
primaryStage.setTitle("javafx minio 工具");
|
|
|
|
|
primaryStage.show();
|
|
|
|
|
}
|
2025-07-07 07:32:10 +00:00
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
launch(args);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2024-03-08 10:20:49 +00:00
|
|
|
}
|