< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/metal/MetalComboBoxEditor.java
Print this page
*** 40,50 ****
* 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 Steve Wilson
*/
@SuppressWarnings("serial") // Same-version serialization only
--- 40,50 ----
* 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 Steve Wilson
*/
@SuppressWarnings("serial") // Same-version serialization only
*** 82,92 ****
editor.setBorder( new EditorBorder() );
//editor.addFocusListener(this);
}
/**
! * The default editor border <code>Insets</code>. This field
* might not be used.
*/
protected static Insets editorBorderInsets = new Insets( 2, 2, 2, 0 );
class EditorBorder extends AbstractBorder {
--- 82,92 ----
editor.setBorder( new EditorBorder() );
//editor.addFocusListener(this);
}
/**
! * The default editor border {@code Insets}. This field
* might not be used.
*/
protected static Insets editorBorderInsets = new Insets( 2, 2, 2, 0 );
class EditorBorder extends AbstractBorder {
*** 132,142 ****
* 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}.
*/
@SuppressWarnings("serial") // Same-version serialization only
public static class UIResource extends MetalComboBoxEditor
implements javax.swing.plaf.UIResource {
--- 132,142 ----
* 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}.
*/
@SuppressWarnings("serial") // Same-version serialization only
public static class UIResource extends MetalComboBoxEditor
implements javax.swing.plaf.UIResource {
< prev index next >