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.

21 lines
586 B

package FirstDemo;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class demo extends Application {
@Override
public void start(Stage primaryStage) throws Exception {
FXMLLoader loader = new FXMLLoader(getClass().getResource("demoView.fxml"));
primaryStage.setTitle("进制转换");
primaryStage.setScene(new Scene(loader.load(), 400, 300)); // 调整高度
primaryStage.show();
}
public static void main(String[] args) {
launch(args);
}
}