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.
34 lines
777 B
34 lines
777 B
package com.wsf.mathapp;
|
|
|
|
import com.wsf.mathapp.controller.SceneManager;
|
|
import javafx.application.Application;
|
|
import javafx.stage.Stage;
|
|
|
|
/**
|
|
* 数学学习软件主应用程序类.
|
|
* 负责初始化应用程序并启动JavaFX界面.
|
|
*/
|
|
public class Main extends Application {
|
|
|
|
/**
|
|
* JavaFX应用程序的入口方法.
|
|
* 初始化场景管理器并显示登录界面.
|
|
*
|
|
* @param primaryStage JavaFX主舞台对象.
|
|
*/
|
|
@Override
|
|
public void start(Stage primaryStage) {
|
|
SceneManager sceneManager = new SceneManager(primaryStage);
|
|
sceneManager.showLoginView();
|
|
}
|
|
|
|
/**
|
|
* 应用程序的主方法.
|
|
* 启动JavaFX应用程序.
|
|
*
|
|
* @param args 命令行参数.
|
|
*/
|
|
public static void main(String[] args) {
|
|
launch(args);
|
|
}
|
|
} |