diff --git a/modules/javafx.controls/src/main/java/javafx/scene/control/ScrollPane.java b/modules/javafx.controls/src/main/java/javafx/scene/control/ScrollPane.java index 4f1b627acad..16fc558994b 100644 --- a/modules/javafx.controls/src/main/java/javafx/scene/control/ScrollPane.java +++ b/modules/javafx.controls/src/main/java/javafx/scene/control/ScrollPane.java @@ -353,9 +353,9 @@ public final DoubleProperty vmaxProperty() { return vmax; } /** - * If true and if the contained node is a Resizable, then the node will be + * If true and if the contained node is {@link Node#isResizable resizable}, then the node will be * kept resized to match the width of the ScrollPane's viewport. If the - * contained node is not a Resizable, this value is ignored. + * contained node is not resizable, this value is ignored. */ private BooleanProperty fitToWidth; public final void setFitToWidth(boolean value) { @@ -390,9 +390,9 @@ public String getName() { return fitToWidth; } /** - * If true and if the contained node is a Resizable, then the node will be + * If true and if the contained node is {@link Node#isResizable resizable}, then the node will be * kept resized to match the height of the ScrollPane's viewport. If the - * contained node is not a Resizable, this value is ignored. + * contained node is not resizable, this value is ignored. */ private BooleanProperty fitToHeight; public final void setFitToHeight(boolean value) { diff --git a/modules/javafx.controls/src/main/java/javafx/scene/control/TreeView.java b/modules/javafx.controls/src/main/java/javafx/scene/control/TreeView.java index 1bc419c6bda..7a5d7c8d0b7 100644 --- a/modules/javafx.controls/src/main/java/javafx/scene/control/TreeView.java +++ b/modules/javafx.controls/src/main/java/javafx/scene/control/TreeView.java @@ -130,7 +130,7 @@ * description of how to write custom Cells. * *

Warning: Nodes should not be inserted directly into the TreeView cells

- * {@code TreeView} allows for it's cells to contain elements of any type, including + * {@code TreeView} allows for its cells to contain elements of any type, including * {@code Node} instances. Putting nodes into * the TreeView cells is strongly discouraged, as it can * lead to unexpected results. diff --git a/modules/javafx.fxml/src/main/java/javafx/fxml/JavaFXBuilderFactory.java b/modules/javafx.fxml/src/main/java/javafx/fxml/JavaFXBuilderFactory.java index 095056b5aa4..b5763d7d9c7 100644 --- a/modules/javafx.fxml/src/main/java/javafx/fxml/JavaFXBuilderFactory.java +++ b/modules/javafx.fxml/src/main/java/javafx/fxml/JavaFXBuilderFactory.java @@ -107,7 +107,7 @@ public JavaFXBuilderFactory(ClassLoader classLoader) { /** * Returns the builder for the specified type, or null if no builder is - * used. Most classes will note use a builder. + * used. Most classes will not use a builder. * * @param type the class being looked up * diff --git a/modules/javafx.graphics/src/main/java/javafx/print/Collation.java b/modules/javafx.graphics/src/main/java/javafx/print/Collation.java index 1954926188b..a75b05f2346 100644 --- a/modules/javafx.graphics/src/main/java/javafx/print/Collation.java +++ b/modules/javafx.graphics/src/main/java/javafx/print/Collation.java @@ -35,15 +35,15 @@ public enum Collation { /** - * The same numbered pages are consecutive in the output, - * For example: 2 copies of a document with 2 pages is printed : + * The same numbered pages are consecutive in the output. + * For example, 2 copies of a document with 2 pages is printed: * Page 1, Page 1, Page 2, Page 2. */ UNCOLLATED, /** * Each copy of a document is printed together. - * FOr example: 2 copies of a document with 2 pages is printed : + * For example, 2 copies of a document with 2 pages is printed: * Page 1, Page 2, Page 1, Page 2. */ COLLATED