< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTextFieldUI.java
Print this page
*** 44,54 ****
* Serialized objects of this class will not be compatible with
* future Swing releases. The current serialization support is
* appropriate for short term storage or RMI between applications running
* the same version of Swing. As of 1.4, support for long term storage
* of all JavaBeans™
! * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}.
*
* @author Timothy Prinzing
*/
@SuppressWarnings("serial") // Same-version serialization only
--- 44,54 ----
* Serialized objects of this class will not be compatible with
* future Swing releases. The current serialization support is
* appropriate for short term storage or RMI between applications running
* the same version of Swing. As of 1.4, support for long term storage
* of all JavaBeans™
! * has been added to the {@code java.beans} package.
* Please see {@link java.beans.XMLEncoder}.
*
* @author Timothy Prinzing
*/
@SuppressWarnings("serial") // Same-version serialization only
*** 181,191 ****
/**
* Fetch the constraining span to flow against for
* the given child index. There is no limit for
* a field since it scrolls, so this is implemented to
! * return <code>Integer.MAX_VALUE</code>.
*/
public int getFlowSpan(int index) {
return Integer.MAX_VALUE;
}
--- 181,191 ----
/**
* Fetch the constraining span to flow against for
* the given child index. There is no limit for
* a field since it scrolls, so this is implemented to
! * return {@code Integer.MAX_VALUE}.
*/
public int getFlowSpan(int index) {
return Integer.MAX_VALUE;
}
< prev index next >