0

Code example:

Label label = new Label("Random text");
BorderPane layout = new BorderPane();

layout.topProperty().set(label); //1st way
layout.setTop(label); //2nd way

What is the exact difference between these two ways of setting top property in BorderPane layout mode?

0 Answers0