askIT

Java JavaFx Borderpane: Split sceene into header, left, right and footer

The BorderPane allows you to have a top, center, right and footer.

<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.BorderPane?>
<BorderPane>
    <top>
        <Label text="Top Label"/>
    </top>
    <center>
        <Label text="Center Label"/>
    </center>
</BorderPane>

borderpane.png
Fig: Borderpane in Scene builder in IntelliJ.

Add comment

avatar_blank_60.png

Comment:

Name:

Email:

Comments

No comments yet. You can be the first one to comment. Just write your comment in the form and click on the submit button.