import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.layout.VBox; import javafx.scene.text.Text; import javafx.stage.Stage; public class App extends Application { public static void main(String[] args) { launch(args); } @Override public void start(Stage stage) throws Exception { Text text = new Text("Helló"); Scene scene = new Scene(new VBox(text), 300, 250); stage.setScene(scene); stage.setTitle("Valami"); stage.show(); } }