In this tutorial, I will show you how to use BorderPane using JavaFX 15 or higher with IntelliJ 2020.3.2 on Windows 10 x64.
A BorderPane can place nodes in five regions: top, bottom, left, right and center, using the setTop(node), setBottom(node), setLeft(node), setRight(node), and setCenter(node) methods.
BorderPane bp = new BorderPane();
ImageView ivSoy = new ImageView(“javafxapplication53\images\soy.png”);
bp.setTop(new ImageView(“lvSoy”);
VM options
--module-path "C:\Program Files\Java\javafx-sdk-15.0.1\lib"
--add-modules javafx.controls,javafx.fxml
JDK 15.0.2
JavaFX SceneBuilder 15.0.1
IntelliJ IDEA 2020.3.2
Free design resources and software https://icons8.com/
#BorderPane #JavaFX