The javadoc for Region.getPrefHeight() / getPrefWidth() incorrectly refers to getPrefHeight(forWidth) / getPrefWidth(forHeight)
should be
prefHeight(forWidth) / prefWidth(forHeight)
Same issue is present in the PopupControl javadoc.
should be
prefHeight(forWidth) / prefWidth(forHeight)
Same issue is present in the PopupControl javadoc.