< prev index next >

modules/javafx.controls/src/main/java/javafx/scene/control/skin/TextFieldSkin.java

Print this page

        

@@ -439,11 +439,11 @@
      *
      * @param start The starting index in the range, inclusive. This must be &gt;= 0 and &lt; the end.
      * @param end The ending index in the range, exclusive. This is one-past the last character to
      *            delete (consistent with the String manipulation methods). This must be &gt; the start,
      *            and &lt;= the length of the text.
-     * @param text The text that is to replace the range. This must not be null.
+     * @param txt The text that is to replace the range. This must not be null.
      * @see TextField#replaceText(int, int, String)
      */
     public void replaceText(int start, int end, String txt) {
         final double textMaxXOld = textNode.getBoundsInParent().getMaxX();
         final double caretMaxXOld = caretPath.getLayoutBounds().getMaxX() + textTranslateX.get();
< prev index next >