You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MathSystem2/src/main/java/com/example/mathsystemtogether/HelloApplication.java

24 lines
691 B

package com.example.mathsystemtogether;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.stage.Stage;
import java.io.IOException;
public class HelloApplication extends Application {
@Override
public void start(Stage stage) throws IOException {
FXMLLoader fxmlLoader = new FXMLLoader(HelloApplication.class.getResource("exam-view.fxml"));
Scene scene = new Scene(fxmlLoader.load(), 900, 900);
stage.setTitle("数学考试系统");
stage.setResizable(true);
stage.setScene(scene);
stage.show();
}
public static void main(String[] args) {
launch();
}
}