JavaFx:1、Hello world

package fx.com;

import javafx.application.Application;
import javafx.stage.Stage;

public class Main extends Application {
    public static void main(String[] args) {
        launch(args);
    }
    
    @Override
    public void start(Stage primaryStage) throws Exception {
        primaryStage.setTitle("Hello World");
        primaryStage.show();
    }
}
posted @ 2020-09-25 18:48  xl4ng  阅读(155)  评论(0)    收藏  举报