• 大小: 8.64MB
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2023-08-24
  • 语言: Java
  • 标签: javafx  c/s版  

资源简介

基于javafx GUI设计,mysql进行数据持久化的C/S版影院管理系统。

资源截图

代码片段和文件信息

import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.control.ProgressIndicator;
import javafx.scene.layout.Background;
import javafx.scene.layout.VBox;
import javafx.scene.paint.Color;
import javafx.stage.Modality;
import javafx.stage.Stage;
import javafx.stage.Stagestyle;
public class Test {
    private Stage dialogStage;
    private ProgressIndicator progressIndicator;

    public Test(Stage primaryStage) {
        dialogStage = new Stage();
        progressIndicator = new ProgressIndicator();
        // 窗口父子关系
        dialogStage.initOwner(primaryStage);
        dialogStage.initstyle(Stagestyle.UNDECORATED);
        dialogStage.initstyle(Stagestyle.TRANSPARENT);
        dialogStage.initModality(Modality.APPLICATION_MODAL);
        // progress bar
        Label label = new Label(“数据加载中 请稍后...“);
        label.setTextFill(Color.BLUE);
        progressIndicator.setProgress(-1F);
        VBox vBox = new VBox();
        vBox.setSpacing(10);
        vBox.setBackground(Background.EMPTY);
        vBox.getChildren().addAll(progressIndicatorlabel);
        Scene scene = new Scene(vBox);
        scene.setFill(null);
        dialogStage.setScene(scene);
    }

    public void activateProgressBar() {
        dialogStage.show();
    }

    public Stage getDialogStage(){
        return dialogStage;
    }

    public void cancelProgressBar() {
        dialogStage.close();
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-06-12 12:40  TTMS\
     目录           0  2016-05-16 07:42  TTMS\database\
     文件        6938  2016-05-16 07:40  TTMS\database\TTMS_MySQL5_2016-5-14.sql
     文件       70921  2016-04-11 04:10  TTMS\database\TTMS.pdm
     文件         385  2016-05-14 23:20  TTMS\.project
     目录           0  2019-06-08 15:34  TTMS\picture_of_ttms\
     文件        6265  2019-06-08 15:34  TTMS\picture_of_ttms\green.png
     目录           0  2019-06-12 07:38  TTMS\picture_of_ttms\.git\
     文件       10705  2019-06-08 15:34  TTMS\picture_of_ttms\.git\index
     目录           0  2019-06-08 15:34  TTMS\picture_of_ttms\.git\refs\
     目录           0  2019-06-08 15:34  TTMS\picture_of_ttms\.git\refs\heads\
     文件          41  2019-06-08 15:34  TTMS\picture_of_ttms\.git\refs\heads\master
     目录           0  2019-06-08 15:34  TTMS\picture_of_ttms\.git\refs\tags\
     目录           0  2019-06-08 15:34  TTMS\picture_of_ttms\.git\refs\remotes\
     目录           0  2019-06-08 15:35  TTMS\picture_of_ttms\.git\refs\remotes\origin\
     文件          32  2019-06-08 15:34  TTMS\picture_of_ttms\.git\refs\remotes\origin\HEAD
     文件          41  2019-06-08 15:35  TTMS\picture_of_ttms\.git\refs\remotes\origin\master
     文件           7  2019-06-08 15:34  TTMS\picture_of_ttms\.git\COMMIT_EDITMSG
     文件         114  2019-06-08 15:34  TTMS\picture_of_ttms\.git\packed-refs
     目录           0  2019-06-08 15:34  TTMS\picture_of_ttms\.git\branches\
     目录           0  2019-06-08 15:34  TTMS\picture_of_ttms\.git\objects\
     目录           0  2019-06-08 15:34  TTMS\picture_of_ttms\.git\objects\93\
     文件         156  2019-06-08 15:34  TTMS\picture_of_ttms\.git\objects\93\f79c10e155092815d37d493027fad9ee78012b
     目录           0  2019-06-08 15:34  TTMS\picture_of_ttms\.git\objects\a0\
     文件        1997  2019-06-08 15:34  TTMS\picture_of_ttms\.git\objects\a0\5048558168350137a4a9c930216ab748535d20
     目录           0  2019-06-08 15:34  TTMS\picture_of_ttms\.git\objects\43\
     文件         248  2019-06-08 15:34  TTMS\picture_of_ttms\.git\objects\43\2793661fb162d812ae062e4339697d173bc59d
     目录           0  2019-06-08 15:34  TTMS\picture_of_ttms\.git\objects\d3\
     文件         150  2019-06-08 15:34  TTMS\picture_of_ttms\.git\objects\d3\209f97281066340b58205d9454c3c4d7342c59
     文件         278  2019-06-08 15:34  TTMS\picture_of_ttms\.git\objects\d3\492014230b9e91dc3564bf3cfdb5f123c889cd
     目录           0  2019-06-08 15:34  TTMS\picture_of_ttms\.git\objects\b0\
............此处省略619个文件信息

评论

共有 条评论