Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.


+1 vote

What it the advantage of using BorderPane over GridPane?

asked in CSC305 Fall 2021 by (2.3k points)

1 Answer

+1 vote

GridPane is when we can set the coordinates of an object. Like in the project checkpoint, you would set the coordinates for a label, TextField, Button, etc. In a BoarderPane, you can't set the coordinates, it's just a blank canvas. When you're adding objects with an assigned coordinate (in a grid), use GridPane.

answered by (2.3k points)