css šírka ohraničenia
element {
border-width: 10px;
/* Or use shorthand border property */
/* width style colour */
border: 10px solid black;
}
borderpane šírka a výška
borderPane.prefHeightProperty().bind(scene.heightProperty());
borderPane.prefWidthProperty().bind(scene.widthProperty());