import java.sql.SQLException;
import com.sun.org.apache.bcel.internal.classfile.Constant;
import javafx.application.Application;
import javafx.geometry.Pos;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.scene.layout.StackPane;
import javafx.scene.paint.Color;
import javafx.stage.Stage;
public final class Window extends Application {
boolean down =true;
BaseBorderPane baseBorderPane =null;
TeachingInformation tInfo=null;
public StudentInformation temporaryStudent=null;
Scene scene=null;
public static void main(String[] args) {
launch();
}
@Override
public void start(Stage primaryStage) {
new DataManagement();
tInfo=new TeachingInformation();
temporaryStudent=tInfo.sInfo.clone();
baseBorderPane =new BaseBorderPane(this,tInfo);
Image image = new Image("image/sspu.png");
ImageView imageView = new ImageView();
imageView.setImage(image);
scene = new Scene(baseBorderPane, 600, 500, Color.WHITE);
primaryStage.setTitle("学生管理系统");
primaryStage.getIcons().add(image);
primaryStage.setScene(scene);
primaryStage.setResizable(true);//�ɵ�����С��
primaryStage.show();
}
}
SQL数据库应用系统开发主类
最新推荐文章于 2022-05-12 22:01:01 发布