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.
double_project/src/MathLearningApp.java

21 lines
697 B

import controller.NavigationController;
import javax.swing.UIManager;
import javax.swing.SwingUtilities;
public class MathLearningApp {
public static void main(String[] args) {
// Set system look and feel
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (Exception e) {
e.printStackTrace();
}
// Start the application
SwingUtilities.invokeLater(() -> {
// 获取 NavigationController 实例并显示登录界面
NavigationController navigationController = NavigationController.getInstance();
navigationController.showLoginView();
});
}
}