From 2b4068669639918c152f624b88b2e0bb34361fbd Mon Sep 17 00:00:00 2001
From: nlisker <37422899+nlisker@users.noreply.github.com>
Date: Wed, 4 Sep 2024 20:17:35 +0300
Subject: [PATCH] Batch typo fixes
---
.../main/java/javafx/scene/chart/Axis.java | 2 +-
.../main/java/javafx/scene/chart/XYChart.java | 2 +-
.../java/javafx/scene/chart/package-info.java | 4 ++--
.../scene/control/ResizeFeaturesBase.java | 2 +-
.../javafx/scene/control/TextFormatter.java | 8 +++----
.../scene/control/TextInputControl.java | 2 +-
.../scene/control/cell/MapValueFactory.java | 2 +-
.../javafx/scene/control/package-info.java | 2 +-
.../control/skin/TextInputControlSkin.java | 2 +-
.../control/skin/VirtualContainerBase.java | 2 +-
.../src/main/java/javafx/fxml/FXMLLoader.java | 2 +-
.../docs/javafx/scene/doc-files/cssref.html | 14 +++++------
.../java/javafx/animation/PathTransition.java | 2 +-
.../src/main/java/javafx/css/Selector.java | 2 +-
.../src/main/java/javafx/css/SizeUnits.java | 4 ++--
.../main/java/javafx/print/PrintQuality.java | 2 +-
.../java/javafx/print/PrintResolution.java | 2 +-
.../main/java/javafx/print/PrintSides.java | 4 ++--
.../main/java/javafx/print/PrinterJob.java | 2 +-
.../java/javafx/scene/AccessibleAction.java | 2 +-
.../javafx/scene/AccessibleAttribute.java | 2 +-
.../src/main/java/javafx/scene/Parent.java | 4 ++--
.../java/javafx/scene/input/Clipboard.java | 2 +-
.../java/javafx/scene/input/DragEvent.java | 6 ++---
.../java/javafx/scene/input/Dragboard.java | 6 ++---
.../java/javafx/scene/input/MouseEvent.java | 24 +++++++++----------
.../java/javafx/scene/input/RotateEvent.java | 2 +-
.../java/javafx/scene/input/ZoomEvent.java | 2 +-
.../scene/layout/ColumnConstraints.java | 4 ++--
.../java/javafx/scene/layout/GridPane.java | 4 ++--
.../java/javafx/scene/layout/TilePane.java | 4 ++--
.../main/java/javafx/scene/paint/Color.java | 2 +-
.../javafx/scene/paint/LinearGradient.java | 4 ++--
.../javafx/scene/paint/RadialGradient.java | 4 ++--
.../main/java/javafx/scene/robot/Robot.java | 4 ++--
.../main/java/javafx/scene/shape/LineTo.java | 2 +-
.../javafx/scene/transform/Transform.java | 2 +-
.../src/main/java/javafx/stage/Window.java | 2 +-
.../java/javafx/scene/media/package-info.java | 2 +-
39 files changed, 73 insertions(+), 73 deletions(-)
diff --git a/modules/javafx.controls/src/main/java/javafx/scene/chart/Axis.java b/modules/javafx.controls/src/main/java/javafx/scene/chart/Axis.java
index 087d2f28cc1..3fda514ee2b 100644
--- a/modules/javafx.controls/src/main/java/javafx/scene/chart/Axis.java
+++ b/modules/javafx.controls/src/main/java/javafx/scene/chart/Axis.java
@@ -420,7 +420,7 @@ public Axis() {
// -------------- METHODS ------------------------------------------------------------------------------------------
/**
- * See if the current range is valid, if it is not then any range dependent calulcations need to redone on the next layout pass
+ * See if the current range is valid, if it is not then any range dependent calculations need to redone on the next layout pass
*
* @return true if current range calculations are valid
*/
diff --git a/modules/javafx.controls/src/main/java/javafx/scene/chart/XYChart.java b/modules/javafx.controls/src/main/java/javafx/scene/chart/XYChart.java
index 9d791875c79..1cc26cc0f91 100644
--- a/modules/javafx.controls/src/main/java/javafx/scene/chart/XYChart.java
+++ b/modules/javafx.controls/src/main/java/javafx/scene/chart/XYChart.java
@@ -976,7 +976,7 @@ protected final void removeSeriesFromDisplay(Series
Commom types of charts such as {@link javafx.scene.chart.BarChart + *
Common types of charts such as {@link javafx.scene.chart.BarChart * Bar}, {@link javafx.scene.chart.LineChart Line}, {@link * javafx.scene.chart.AreaChart Area}, {@link * javafx.scene.chart.PieChart Pie}, {@link @@ -111,7 +111,7 @@ *
Plots symbols for the data points in a series. This type of * chart is useful in viewing distribution of data and its - * corelation, if there is any clustering.
+ * correlation, if there is any clustering. *In this example, there is a list of Map instances, where each Map instance - * representsa single row in the TableView. The "firstName" string is used as a + * represents a single row in the TableView. The "firstName" string is used as a * key into this map, and the value corresponding to this key is returned, if * one exists. If the value is an {@link ObservableValue}, then this is returned * directly, otherwise the value is wrapped in a {@link ReadOnlyObjectWrapper}. diff --git a/modules/javafx.controls/src/main/java/javafx/scene/control/package-info.java b/modules/javafx.controls/src/main/java/javafx/scene/control/package-info.java index c74ccbfa8f1..c807b84ac16 100644 --- a/modules/javafx.controls/src/main/java/javafx/scene/control/package-info.java +++ b/modules/javafx.controls/src/main/java/javafx/scene/control/package-info.java @@ -62,7 +62,7 @@ * Skin the responsibility of computing the min, max, and pref sizes of the * Control, the baseline offset, and hit testing (containment and * intersection). It is also the responsibility of the Skin, or a delegate of - * the Skin, to implement and repond to all relevant key + * the Skin, to implement and respond to all relevant key * events which occur on the Control when it contains the focus.
* *With looked-up colors you can refer to any other color property that is set on the current node or any of its parents. This is a very powerful feature, as it allows a generic palette of colors to be specified on the - scene then used thoughout the application. If you want to change one of + scene then used throughout the application. If you want to change one of those palette colors you can do so at any level in the scene tree and it will affect that node and all its decendents. Looked-up colors are not looked up until they are applied, so they are live and react to any style @@ -2520,7 +2520,7 @@
The same syntax and semenatics as CSS Backgrounds and Borders Module Level 3: Curve Radii +
The same syntax and semantics as CSS Backgrounds and Borders Module Level 3: Curve Radii applies to -fx-background-radius. Note that JavaFX supports only the short-hand syntax.
Each comma-separated value or set of values in the series applies to the corresponding background color.
* Here ia a very simple example, which prints a single node. diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/AccessibleAction.java b/modules/javafx.graphics/src/main/java/javafx/scene/AccessibleAction.java index 53b7825e973..abb5c172c6d 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/AccessibleAction.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/AccessibleAction.java @@ -96,7 +96,7 @@ public enum AccessibleAction { /** * Request that the node take focus. By default, a node will * request focus using {@link javafx.scene.Node#requestFocus()}. - * Both JavaFX and the assisteve technology have the concept of + * Both JavaFX and the assistive technology have the concept of * a focus node and most of the time, they are the same. * In some cases, a control might want the JavaFX focus to remain * on the parent, while the assistive technology focus is on the child. diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/AccessibleAttribute.java b/modules/javafx.graphics/src/main/java/javafx/scene/AccessibleAttribute.java index 43628f3cf48..757ded6230e 100644 --- a/modules/javafx.graphics/src/main/java/javafx/scene/AccessibleAttribute.java +++ b/modules/javafx.graphics/src/main/java/javafx/scene/AccessibleAttribute.java @@ -328,7 +328,7 @@ public enum AccessibleAttribute { HORIZONTAL_SCROLLBAR(Node.class), /** - * Returns true of the node is indeterminaite, otherwise false. + * Returns true of the node is indeterminate, otherwise false. *
- * If this {@link Parent} node is attached to a {@link Scene} attached to a {@link Window}
- * that is showning ({@link javafx.stage.Window#isShowing()}), then its
+ * If this {@link Parent} node is attached to a {@link Scene} attached to a {@link Window},
+ * that is, showing ({@link javafx.stage.Window#isShowing()}), then its
* list of children must only be modified on the JavaFX Application Thread.
* An {@link IllegalStateException} is thrown if this restriction is
* violated.
diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/input/Clipboard.java b/modules/javafx.graphics/src/main/java/javafx/scene/input/Clipboard.java
index fb4590ca707..4d8ecb72cdd 100644
--- a/modules/javafx.graphics/src/main/java/javafx/scene/input/Clipboard.java
+++ b/modules/javafx.graphics/src/main/java/javafx/scene/input/Clipboard.java
@@ -228,7 +228,7 @@ public final void clear() {
/**
* Gets the set of DataFormat types on this Clipboard instance which have
* associated data registered on the clipboard. This set will always
- * be non-null and immutable. If the Clipboard is subsequently modifed,
+ * be non-null and immutable. If the Clipboard is subsequently modified,
* this returned set is not updated.
*
* @return A non-null immutable set of content types.
diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/input/DragEvent.java b/modules/javafx.graphics/src/main/java/javafx/scene/input/DragEvent.java
index 2a377995b4d..03f9f91ea12 100644
--- a/modules/javafx.graphics/src/main/java/javafx/scene/input/DragEvent.java
+++ b/modules/javafx.graphics/src/main/java/javafx/scene/input/DragEvent.java
@@ -70,7 +70,7 @@
* Inside a {@code DRAG_DETECTED} event handler, if the
* {@code startDragAndDrop()} method is called on a node or scene and a dragged
* data is made available to the returned {@code Dragboard}, the object on which
- * {@code startDragAndDrop()} has been called is considred a gesture source
+ * {@code startDragAndDrop()} has been called is considered a gesture source
* and the drag and drop gesture is started. The {@code Dragboard} has system
* clipboard functionality but is specifically used for drag and drop data
* transfer.
@@ -133,7 +133,7 @@
* {@code DragBoard.getTransferModes()} (set of transfer modes supported by
* the gesture source) and {@code DragEvent.getTransferMode()} (default
* transfer mode issued by platform, driven by key modifiers) can be used.
- * It is poosible to pass more transfer modes into the
+ * It is posible to pass more transfer modes into the
* {@code acceptTransferModes(TransferMode...)} method. In this case
* it makes the decision in behalf of the
* application (it chooses the default mode if it's supported by gesture source
@@ -238,7 +238,7 @@ public final class DragEvent extends InputEvent {
/**
* This event occurs when drag gesture exits a node. It's the
* bubbling variant, which is delivered also to all parents of the
- * eixited node (unless it was consumed). When notifications about
+ * exited node (unless it was consumed). When notifications about
* exiting some of node's children are not desired,
* {@code DRAG_EXITED} event handler should be used.
*
diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/input/Dragboard.java b/modules/javafx.graphics/src/main/java/javafx/scene/input/Dragboard.java
index 150786a7f4d..82306df1899 100644
--- a/modules/javafx.graphics/src/main/java/javafx/scene/input/Dragboard.java
+++ b/modules/javafx.graphics/src/main/java/javafx/scene/input/Dragboard.java
@@ -56,7 +56,7 @@ Object getContentImpl(DataFormat dataFormat) {
}
/**
- * Gets set of transport modes supported by source of this drag opeation.
+ * Gets set of transport modes supported by source of this drag operation.
* @return set of supported transfer modes
*/
public final Set
- * The simple press-drag-release gesture is default. It's best used to allow
- * changing size of a shape, dragging it around and so on. Whole
+ * The simple press-drag-release gesture is the default. It's best used to allow
+ * changing the size of a shape, dragging it around and so on. The whole
* press-drag-release gesture is delivered to one node. When a mouse
* button is pressed, the top-most node is picked and all subsequent
- * mouse events are delivered to the same node until the button is released.
+ * mouse events are delivered to that same node until the button is released.
* If a mouse clicked event is generated from these events, it is still
* delivered to the same node.
*
- * During simple press-drag-release gesture, the other nodes are not involved
+ * During a simple press-drag-release gesture, the other nodes are not involved
* and don't get any events. If these nodes need to be involved in the gesture,
* full press-drag-release gesture has to be activated. This gesture is
* best used for connecting nodes by "wires", dragging nodes to other nodes etc.
@@ -68,16 +68,16 @@
* {@link javafx.scene.input.MouseDragEvent MouseDragEvent} which contains
* the events delivered to the gesture targets.
*
- * The third gesture type is platform-supported drag-and-drop gesture. It serves
+ * The third gesture type is the platform-supported drag-and-drop gesture. It serves
* best to transfer data and works also between (not necessarily FX)
* applications. This gesture type is more closely described
* at {@link javafx.scene.input.DragEvent DragEvent}.
*
- * In a short summary, simple press-drag-release gesture is activated
+ * In summary, simple press-drag-release gestures are activated
* automatically when a mouse button is pressed and delivers all
* {@code MouseEvent}s to the gesture source. When you start dragging,
- * eventually the {@code DRAG_DETECTED} event arrives. In its handler
- * you can either start full press-drag-release gesture by calling
+ * eventually the {@code DRAG_DETECTED} event arrives. In its handler,
+ * you can either start a full press-drag-release gesture by calling the
* {@code startFullDrag} method on a node or scene - the {@code MouseDragEvent}s
* start to be delivered to gesture targets, or you can start drag and drop
* gesture by calling {@code startDragAndDrop} method on a node or scene -
@@ -93,14 +93,14 @@
*
*
- * When the mouse enters a node, the node gets {@code MOUSE_ENTERED} event, when
- * it leaves, it gets {@code MOUSE_EXITED} event. These events are delivered
+ * When the mouse enters a node, the node gets a {@code MOUSE_ENTERED} event, when
+ * it leaves, it gets a {@code MOUSE_EXITED} event. These events are delivered
* only to the entered/exited node and seemingly don't go through the
* capturing/bubbling phases. This is the most common use-case.
*
- * When the capturing or bubbling is desired, there are
+ * When capturing or bubbling is desired, there are
* {@code MOUSE_ENTERED_TARGET}/{@code MOUSE_EXITED_TARGET} events. These events
- * go through capturing/bubbling phases normally. This means that parent may
+ * go through capturing/bubbling phases normally. This means that a parent may
* receive the {@code MOUSE_ENTERED_TARGET} event when the mouse entered
* either the parent itself or some of its children. To distinguish between
* these two cases, the event target can be tested on equality with the node.
diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/input/RotateEvent.java b/modules/javafx.graphics/src/main/java/javafx/scene/input/RotateEvent.java
index c4bf55c00af..58aa9264b5d 100644
--- a/modules/javafx.graphics/src/main/java/javafx/scene/input/RotateEvent.java
+++ b/modules/javafx.graphics/src/main/java/javafx/scene/input/RotateEvent.java
@@ -50,7 +50,7 @@
* indirectly as on track pad - the mouse cursor location is usually used
* as the gesture coordinates).
*
- * The gesture's {@code ROTATE} events are surounded by {@code ROTATION_STARTED}
+ * The gesture's {@code ROTATE} events are surrounded by {@code ROTATION_STARTED}
* and {@code ROTATION_FINISHED} events. If rotation inertia is active on the
* given platform, some {@code ROTATE} events with {@code isInertia()} returning
* {@code true} can come after {@code ROTATION_FINISHED}.
diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/input/ZoomEvent.java b/modules/javafx.graphics/src/main/java/javafx/scene/input/ZoomEvent.java
index 8e3b5d8728c..237349f4805 100644
--- a/modules/javafx.graphics/src/main/java/javafx/scene/input/ZoomEvent.java
+++ b/modules/javafx.graphics/src/main/java/javafx/scene/input/ZoomEvent.java
@@ -50,7 +50,7 @@
* indirectly as on track pad - the mouse cursor location is usually used
* as the gesture coordinates).
*
- * The gesture's {@code ZOOM} events are surounded by {@code ZOOM_STARTED}
+ * The gesture's {@code ZOOM} events are surrounded by {@code ZOOM_STARTED}
* and {@code ZOOM_FINISHED} events. If zooming inertia is active on the
* given platform, some {@code ZOOM} events with {@code isInertia()} returning
* {@code true} can come after {@code ZOOM_FINISHED}.
diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/layout/ColumnConstraints.java b/modules/javafx.graphics/src/main/java/javafx/scene/layout/ColumnConstraints.java
index 78c7c903926..d63bb4c3f68 100644
--- a/modules/javafx.graphics/src/main/java/javafx/scene/layout/ColumnConstraints.java
+++ b/modules/javafx.graphics/src/main/java/javafx/scene/layout/ColumnConstraints.java
@@ -109,13 +109,13 @@ public ColumnConstraints(double minWidth, double prefWidth, double maxWidth) {
/**
* Creates a column constraint object with a fixed size range, horizontal
- * grow priority, horizonal alignment, and horizontal fill behavior.
+ * grow priority, horizontal alignment, and horizontal fill behavior.
*
* @param minWidth the minimum width
* @param prefWidth the preferred width
* @param maxWidth the maximum width
* @param hgrow the horizontal grow priority
- * @param halignment the horizonal alignment
+ * @param halignment the horizontal alignment
* @param fillWidth the horizontal fill behavior
*/
public ColumnConstraints(double minWidth, double prefWidth, double maxWidth, Priority hgrow, HPos halignment, boolean fillWidth) {
diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/layout/GridPane.java b/modules/javafx.graphics/src/main/java/javafx/scene/layout/GridPane.java
index 80a62e8c818..e9126037d6c 100644
--- a/modules/javafx.graphics/src/main/java/javafx/scene/layout/GridPane.java
+++ b/modules/javafx.graphics/src/main/java/javafx/scene/layout/GridPane.java
@@ -421,7 +421,7 @@ private double getBaselineComplementForChild(Node child) {
* If set, will override the gridpane's default horizontal alignment.
* Setting the value to null will remove the constraint.
* @param child the child node of a gridpane
- * @param value the hozizontal alignment for the child
+ * @param value the horizontal alignment for the child
*/
public static void setHalignment(Node child, HPos value) {
setConstraint(child, HALIGNMENT_CONSTRAINT, value);
@@ -547,7 +547,7 @@ public static Boolean isFillHeight(Node child) {
}
/**
- * Sets the column,row indeces for the child when contained in a gridpane.
+ * Sets the column,row indices for the child when contained in a gridpane.
* @param child the child node of a gridpane
* @param columnIndex the column index position for the child
* @param rowIndex the row index position for the child
diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/layout/TilePane.java b/modules/javafx.graphics/src/main/java/javafx/scene/layout/TilePane.java
index a8e946f7812..65a8e576bef 100644
--- a/modules/javafx.graphics/src/main/java/javafx/scene/layout/TilePane.java
+++ b/modules/javafx.graphics/src/main/java/javafx/scene/layout/TilePane.java
@@ -472,7 +472,7 @@ public String getName() {
/**
* The preferred width of each tile.
- * If equal to USE_COMPUTED_SIZE (the default) the tile width wlll be
+ * If equal to USE_COMPUTED_SIZE (the default) the tile width will be
* automatically recomputed by the tilepane when the preferred size of children
* changes to accommodate the widest child. If the application sets this property
* to value greater than 0, then tiles will be set to that width and the tilepane
@@ -513,7 +513,7 @@ public String getName() {
/**
* The preferred height of each tile.
- * If equal to USE_COMPUTED_SIZE (the default) the tile height wlll be
+ * If equal to USE_COMPUTED_SIZE (the default) the tile height will be
* automatically recomputed by the tilepane when the preferred size of children
* changes to accommodate the tallest child. If the application sets this property
* to value greater than 0, then tiles will be set to that height and the tilepane
diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/paint/Color.java b/modules/javafx.graphics/src/main/java/javafx/scene/paint/Color.java
index 8533b7b8375..4790148ae76 100644
--- a/modules/javafx.graphics/src/main/java/javafx/scene/paint/Color.java
+++ b/modules/javafx.graphics/src/main/java/javafx/scene/paint/Color.java
@@ -63,7 +63,7 @@
* Color c = Color.rgb(0,0,255); //use 0->255 integers, implicit alpha of 1.0
* Color c = Color.rgb(0,0,255,1.0); //use 0->255 integers, explicit alpha of 1.0
*
- * Color c = Color.hsb(270,1.0,1.0); //hue = 270, saturation & value = 1.0. inplicit alpha of 1.0
+ * Color c = Color.hsb(270,1.0,1.0); //hue = 270, saturation & value = 1.0. implicit alpha of 1.0
* Color c = Color.hsb(270,1.0,1.0,1.0); //hue = 270, saturation & value = 1.0, explicit alpha of 1.0
*
* Color c = Color.web("0x0000FF",1.0);// blue as a hex web value, explicit alpha
diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/paint/LinearGradient.java b/modules/javafx.graphics/src/main/java/javafx/scene/paint/LinearGradient.java
index 8226b121aee..e89fdec2999 100644
--- a/modules/javafx.graphics/src/main/java/javafx/scene/paint/LinearGradient.java
+++ b/modules/javafx.graphics/src/main/java/javafx/scene/paint/LinearGradient.java
@@ -376,9 +376,9 @@ Object acc_getPlatformPaint() {
* <point> = [ [ <length> <length> ] | [ <percentage> | <percentage> ] ]
* <color-stop> = [ <color> [ <percentage> | <length>]? ]
*
- * Currently length can be only specified in px, the specification of unit can be omited.
+ * Currently length can be only specified in px, the specification of unit can be omitted.
* Format of color representation is the one used in {@link Color#web(String color)}.
- * The linear-gradient keyword can be omited.
+ * The linear-gradient keyword can be omitted.
* For additional information about the format of string representation, see the
* CSS Reference Guide.
* Currently length can be only specified in px, the specification of unit can be omited.
+ * Currently length can be only specified in px, the specification of unit can be omitted.
* Format of color representation is the one used in {@link Color#web(String color)}.
- * The radial-gradient keyword can be omited.
+ * The radial-gradient keyword can be omitted.
* For additional information about the format of string representation, see the
* CSS Reference Guide.
*
* If {@code scaleToFit} is {@literal true}, the returned {@code Image} is of
@@ -371,7 +371,7 @@ public WritableImage getScreenCapture(WritableImage image, Rectangle2D region) {
* on the screen. For example, in HiDPI mode on the Mac (aka Retina display) the
* pixels are doubled, and thus a screen capture of an area of size (10x10) pixels
* will result in an {@code Image} with dimensions (20x20). Calling code should
- * use the returned images's {@link Image#getWidth()} and {@link Image#getHeight()}
+ * use the returned image's {@link Image#getWidth()} and {@link Image#getHeight()}
* methods to determine the actual image size.
*
* If {@code scaleToFit} is {@literal true}, the returned {@code Image} is of
diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/shape/LineTo.java b/modules/javafx.graphics/src/main/java/javafx/scene/shape/LineTo.java
index c64f669407a..e529f9ae670 100644
--- a/modules/javafx.graphics/src/main/java/javafx/scene/shape/LineTo.java
+++ b/modules/javafx.graphics/src/main/java/javafx/scene/shape/LineTo.java
@@ -68,7 +68,7 @@ public LineTo() {
}
/**
- * Creates a new isntance of LineTo.
+ * Creates a new instance of LineTo.
* @param x the horizontal coordinate of the line end point
* @param y the vertical coordinate of the line end point
*/
diff --git a/modules/javafx.graphics/src/main/java/javafx/scene/transform/Transform.java b/modules/javafx.graphics/src/main/java/javafx/scene/transform/Transform.java
index fc83e53a40a..f73ac0fa76f 100644
--- a/modules/javafx.graphics/src/main/java/javafx/scene/transform/Transform.java
+++ b/modules/javafx.graphics/src/main/java/javafx/scene/transform/Transform.java
@@ -1446,7 +1446,7 @@ public void transform2DPoints(double[] srcPts, int srcOff,
* The coordinates are stored in the arrays starting at the specified
* offset in the order Mouse enter/exit handling
* [x0, y0, z0, x1, y1, z1, ..., xn, yn, zn]
.
* @param srcPts the array containing the source point coordinates.
- * Each point is stored as a tiplet of x, y, z coordinates.
+ * Each point is stored as a triplet of x, y, z coordinates.
* @param srcOff the offset to the first point to be transformed
* in the source array
* @param dstPts the array into which the transformed point coordinates
diff --git a/modules/javafx.graphics/src/main/java/javafx/stage/Window.java b/modules/javafx.graphics/src/main/java/javafx/stage/Window.java
index b3cc8f5c9eb..8f1139e174a 100644
--- a/modules/javafx.graphics/src/main/java/javafx/stage/Window.java
+++ b/modules/javafx.graphics/src/main/java/javafx/stage/Window.java
@@ -351,7 +351,7 @@ private void adjustSize(boolean selfSizePriority) {
/**
* Sets x and y properties on this Window so that it is centered on the
- * curent screen.
+ * current screen.
* The current screen is determined from the intersection of current window bounds and
* visual bounds of all screens.
*/
diff --git a/modules/javafx.media/src/main/java/javafx/scene/media/package-info.java b/modules/javafx.media/src/main/java/javafx/scene/media/package-info.java
index a770afadf51..86aafccc435 100644
--- a/modules/javafx.media/src/main/java/javafx/scene/media/package-info.java
+++ b/modules/javafx.media/src/main/java/javafx/scene/media/package-info.java
@@ -224,7 +224,7 @@
* class documentation. Some things which should be noted are:
*
*
Media
object may be shared among multiple MediaPlayer
s.
- * MediaPlayer
may be shared amoung multiple MediaView
s.
+ * MediaPlayer
may be shared among multiple MediaView
s.
* MediaPlayer
* without creating a MediaView
although a view is required for display.MediaPlayer.play()
,