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