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

Print this page

        

*** 723,734 **** --- 723,736 ---- * For example, calls to <code>revalidate</code>, are pushed upwards to * either a <code>JRootPane</code> or a <code>JScrollPane</code> * because both classes override <code>isValidateRoot</code> to return true. * * @see JComponent#isValidateRoot + * @see java.awt.Container#isValidateRoot * @return true */ + @Override public boolean isValidateRoot() { return true; } /**