October 24, 2018

JavaFX Markup for User Interface

Tired of writing code for creating your user interface? What if you could layout your user interface via an file? E.g.


<BorderPane>
    <top>
        <Label text="Page Title"/>
    </top>
    <center>
        <Label text="Some data here"/>
    </center>
</BorderPane>

That is exactly what FXML is all about in JavaFX.

https://docs.oracle.com/javase/8/javafx/fxml-tutorial/

No comments: