src/share/classes/javax/swing/JTextField.java

Print this page

        

@@ -286,11 +286,13 @@
      * @return if the parent of this textfield is a <code>JViewPort</code>
      *          return false, otherwise return true
      *
      * @see JComponent#revalidate
      * @see JComponent#isValidateRoot
+     * @see java.awt.Container#isValidateRoot
      */
+    @Override
     public boolean isValidateRoot() {
         return SwingUtilities2.getViewport(this) == null;
     }