LoginSignup
0
1

More than 3 years have passed since last update.

javafxでRPG

Last updated at Posted at 2020-01-01

この記事は書きかけです。

環境

  • Java8を使います。

まずはHello,World!

Main.java
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.stage.Stage;

import javafx.scene.Group;
import javafx.scene.text.Text;
import javafx.geometry.Pos;

public class Main extends Application{
    public static void main(String[] args){
        launch(args);
    }

    public void start(Stage stage){
        Group p = new Group();
        stage.setScene(new Scene(p,480,352));
        stage.show();

        Text t = new Text("Hello,World!");
        p.getChildren().add(t);
    }
}
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1