import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.TextField;
import javafx.scene.layout.HBox;
import javafx.stage.Stage;

import java.io.IOException;

public class HelloApplication extends Application {
    @Override
    public void start(Stage stage) throws IOException {
        TextField textView = new TextField("Testing");
        HBox hbox = new HBox(textView);
        Scene scene = new Scene(hbox, 320, 240);
        stage.setTitle("Test | JavaFX version - "+System.getProperty("javafx.version"));
        stage.setScene(scene);
        stage.show();
    }

    public static void main(String[] args) {
        launch();
    }
} 