javafx text wrapping code example Example: javafx text wrapping text.wrappingWidthProperty().bind(tabPane.widthProperty());