8032627: Add @SuppressWarnings("serial") to appropriate javax.swing classes

Reviewed-by: alexsch, alanb
This commit is contained in:
Joe Darcy 2014-01-24 07:16:53 -08:00
parent d5a62b1401
commit 4a3b8f4df6
161 changed files with 380 additions and 161 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -56,6 +56,7 @@ import sun.security.action.GetPropertyAction;
* @author Georges Saab * @author Georges Saab
* @see Action * @see Action
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public abstract class AbstractAction implements Action, Cloneable, Serializable public abstract class AbstractAction implements Action, Cloneable, Serializable
{ {
/** /**

View File

@ -72,6 +72,7 @@ import java.util.*;
* *
* @author Jeff Dinkins * @author Jeff Dinkins
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public abstract class AbstractButton extends JComponent implements ItemSelectable, SwingConstants { public abstract class AbstractButton extends JComponent implements ItemSelectable, SwingConstants {
// ********************************* // *********************************
@ -2384,6 +2385,7 @@ public abstract class AbstractButton extends JComponent implements ItemSelectabl
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
* @since 1.4 * @since 1.4
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected abstract class AccessibleAbstractButton protected abstract class AccessibleAbstractButton
extends AccessibleJComponent implements AccessibleAction, extends AccessibleJComponent implements AccessibleAction,
AccessibleValue, AccessibleText, AccessibleExtendedComponent { AccessibleValue, AccessibleText, AccessibleExtendedComponent {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1999, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -50,7 +50,7 @@ import java.io.Serializable;
* @author Philip Milne * @author Philip Milne
* @since 1.3 * @since 1.3
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public abstract class AbstractCellEditor implements CellEditor, Serializable { public abstract class AbstractCellEditor implements CellEditor, Serializable {
protected EventListenerList listenerList = new EventListenerList(); protected EventListenerList listenerList = new EventListenerList();

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -46,6 +46,7 @@ import java.util.EventListener;
* *
* @author Hans Muller * @author Hans Muller
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public abstract class AbstractListModel<E> implements ListModel<E>, Serializable public abstract class AbstractListModel<E> implements ListModel<E>, Serializable
{ {
protected EventListenerList listenerList = new EventListenerList(); protected EventListenerList listenerList = new EventListenerList();

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -63,6 +63,7 @@ import javax.accessibility.*;
* *
* @author Hans Muller * @author Hans Muller
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class CellRendererPane extends Container implements Accessible public class CellRendererPane extends Container implements Accessible
{ {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -45,6 +45,7 @@ import java.util.EventListener;
* @author Hans Muller * @author Hans Muller
* @see BoundedRangeModel * @see BoundedRangeModel
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class DefaultBoundedRangeModel implements BoundedRangeModel, Serializable public class DefaultBoundedRangeModel implements BoundedRangeModel, Serializable
{ {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -45,6 +45,7 @@ import javax.swing.event.*;
* *
* @author Jeff Dinkins * @author Jeff Dinkins
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class DefaultButtonModel implements ButtonModel, Serializable { public class DefaultButtonModel implements ButtonModel, Serializable {
/** The bitmask used to store the state of the button. */ /** The bitmask used to store the state of the button. */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -50,7 +50,7 @@ import java.io.Serializable;
* @author Alan Chung * @author Alan Chung
* @author Philip Milne * @author Philip Milne
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class DefaultCellEditor extends AbstractCellEditor public class DefaultCellEditor extends AbstractCellEditor
implements TableCellEditor, TreeCellEditor { implements TableCellEditor, TreeCellEditor {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -70,6 +70,7 @@ import sun.swing.DefaultLookup;
* @author Philip Milne * @author Philip Milne
* @author Hans Muller * @author Hans Muller
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class DefaultListCellRenderer extends JLabel public class DefaultListCellRenderer extends JLabel
implements ListCellRenderer<Object>, Serializable implements ListCellRenderer<Object>, Serializable
{ {
@ -341,6 +342,7 @@ public class DefaultListCellRenderer extends JLabel
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public static class UIResource extends DefaultListCellRenderer public static class UIResource extends DefaultListCellRenderer
implements javax.swing.plaf.UIResource implements javax.swing.plaf.UIResource
{ {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -52,6 +52,7 @@ import javax.swing.event.*;
* *
* @author Hans Muller * @author Hans Muller
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class DefaultListModel<E> extends AbstractListModel<E> public class DefaultListModel<E> extends AbstractListModel<E>
{ {
private Vector<E> delegate = new Vector<E>(); private Vector<E> delegate = new Vector<E>();

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -49,7 +49,7 @@ import javax.swing.event.*;
* @author Hans Muller * @author Hans Muller
* @see ListSelectionModel * @see ListSelectionModel
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class DefaultListSelectionModel implements ListSelectionModel, Cloneable, Serializable public class DefaultListSelectionModel implements ListSelectionModel, Cloneable, Serializable
{ {
private static final int MIN = -1; private static final int MIN = -1;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -43,6 +43,7 @@ import java.util.EventListener;
* *
* @author Dave Moore * @author Dave Moore
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class DefaultSingleSelectionModel implements SingleSelectionModel, public class DefaultSingleSelectionModel implements SingleSelectionModel,
Serializable { Serializable {
/* Only one ModelChangeEvent is needed per model instance since the /* Only one ModelChangeEvent is needed per model instance since the

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -66,6 +66,7 @@ import java.security.*;
* @author Jeff Dinkins * @author Jeff Dinkins
* @author Lynn Monsanto * @author Lynn Monsanto
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class ImageIcon implements Icon, Serializable, Accessible { public class ImageIcon implements Icon, Serializable, Accessible {
/* Keep references to the filename and location so that /* Keep references to the filename and location so that
* alternate persistence schemes have the option to archive * alternate persistence schemes have the option to archive
@ -572,6 +573,7 @@ public class ImageIcon implements Icon, Serializable, Accessible {
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
* @since 1.3 * @since 1.3
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleImageIcon extends AccessibleContext protected class AccessibleImageIcon extends AccessibleContext
implements AccessibleIcon, Serializable { implements AccessibleIcon, Serializable {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -90,6 +90,7 @@ import javax.accessibility.*;
* *
* @author Arnaud Weber * @author Arnaud Weber
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JApplet extends Applet implements Accessible, public class JApplet extends Applet implements Accessible,
RootPaneContainer, RootPaneContainer,
TransferHandler.HasGetTransferHandler TransferHandler.HasGetTransferHandler

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -75,6 +75,7 @@ import java.io.IOException;
* *
* @author Jeff Dinkins * @author Jeff Dinkins
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JCheckBox extends JToggleButton implements Accessible { public class JCheckBox extends JToggleButton implements Accessible {
/** Identifies a change to the flat property. */ /** Identifies a change to the flat property. */
@ -334,6 +335,7 @@ public class JCheckBox extends JToggleButton implements Accessible {
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJCheckBox extends AccessibleJToggleButton { protected class AccessibleJCheckBox extends AccessibleJToggleButton {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -88,6 +88,7 @@ import javax.accessibility.*;
* @author Georges Saab * @author Georges Saab
* @author David Karlton * @author David Karlton
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JCheckBoxMenuItem extends JMenuItem implements SwingConstants, public class JCheckBoxMenuItem extends JMenuItem implements SwingConstants,
Accessible Accessible
{ {
@ -293,6 +294,7 @@ public class JCheckBoxMenuItem extends JMenuItem implements SwingConstants,
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJCheckBoxMenuItem extends AccessibleJMenuItem { protected class AccessibleJCheckBoxMenuItem extends AccessibleJMenuItem {
/** /**
* Get the role of this object. * Get the role of this object.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -83,6 +83,7 @@ import sun.swing.SwingUtilities2;
* @author Amy Fowler * @author Amy Fowler
* @author Steve Wilson * @author Steve Wilson
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JColorChooser extends JComponent implements Accessible { public class JColorChooser extends JComponent implements Accessible {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -78,6 +78,7 @@ import javax.accessibility.*;
* @author Arnaud Weber * @author Arnaud Weber
* @author Mark Davidson * @author Mark Davidson
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JComboBox<E> extends JComponent public class JComboBox<E> extends JComponent
implements ItemSelectable,ListDataListener,ActionListener, Accessible { implements ItemSelectable,ListDataListener,ActionListener, Accessible {
/** /**
@ -1612,6 +1613,7 @@ implements ItemSelectable,ListDataListener,ActionListener, Accessible {
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJComboBox extends AccessibleJComponent protected class AccessibleJComboBox extends AccessibleJComponent
implements AccessibleAction, AccessibleSelection { implements AccessibleAction, AccessibleSelection {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -179,6 +179,7 @@ import sun.swing.UIClientPropertyKey;
* @author Hans Muller * @author Hans Muller
* @author Arnaud Weber * @author Arnaud Weber
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public abstract class JComponent extends Container implements Serializable, public abstract class JComponent extends Container implements Serializable,
TransferHandler.HasGetTransferHandler TransferHandler.HasGetTransferHandler
{ {
@ -3657,6 +3658,7 @@ public abstract class JComponent extends Container implements Serializable,
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public abstract class AccessibleJComponent extends AccessibleAWTContainer public abstract class AccessibleJComponent extends AccessibleAWTContainer
implements AccessibleExtendedComponent implements AccessibleExtendedComponent
{ {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -86,6 +86,7 @@ import java.util.TreeSet;
* *
* @author David Kloba * @author David Kloba
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JDesktopPane extends JLayeredPane implements Accessible public class JDesktopPane extends JLayeredPane implements Accessible
{ {
/** /**
@ -616,6 +617,7 @@ public class JDesktopPane extends JLayeredPane implements Accessible
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJDesktopPane extends AccessibleJComponent { protected class AccessibleJDesktopPane extends AccessibleJComponent {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -95,6 +95,7 @@ import javax.accessibility.*;
* @author James Gosling * @author James Gosling
* @author Scott Violet * @author Scott Violet
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JDialog extends Dialog implements WindowConstants, public class JDialog extends Dialog implements WindowConstants,
Accessible, Accessible,
RootPaneContainer, RootPaneContainer,

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -189,6 +189,7 @@ import javax.accessibility.*;
* *
* @author Timothy Prinzing * @author Timothy Prinzing
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JEditorPane extends JTextComponent { public class JEditorPane extends JTextComponent {
/** /**
@ -1640,6 +1641,7 @@ public class JEditorPane extends JTextComponent {
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJEditorPane extends AccessibleJTextComponent { protected class AccessibleJEditorPane extends AccessibleJTextComponent {
/** /**
@ -1694,6 +1696,7 @@ public class JEditorPane extends JTextComponent {
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJEditorPaneHTML extends AccessibleJEditorPane { protected class AccessibleJEditorPaneHTML extends AccessibleJEditorPane {
private AccessibleContext accessibleContext; private AccessibleContext accessibleContext;

View File

@ -177,6 +177,7 @@ import javax.swing.text.*;
* *
* @since 1.4 * @since 1.4
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JFormattedTextField extends JTextField { public class JFormattedTextField extends JTextField {
private static final String uiClassID = "FormattedTextFieldUI"; private static final String uiClassID = "FormattedTextFieldUI";
private static final Action[] defaultActions = private static final Action[] defaultActions =

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -112,6 +112,7 @@ import javax.accessibility.*;
* @author Georges Saab * @author Georges Saab
* @author David Kloba * @author David Kloba
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JFrame extends Frame implements WindowConstants, public class JFrame extends Frame implements WindowConstants,
Accessible, Accessible,
RootPaneContainer, RootPaneContainer,

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -110,6 +110,7 @@ import sun.swing.SwingUtilities2;
* description: A frame container which is contained within * description: A frame container which is contained within
* another window. * another window.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JInternalFrame extends JComponent implements public class JInternalFrame extends JComponent implements
Accessible, WindowConstants, Accessible, WindowConstants,
RootPaneContainer RootPaneContainer
@ -2034,6 +2035,7 @@ public class JInternalFrame extends JComponent implements
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJInternalFrame extends AccessibleJComponent protected class AccessibleJInternalFrame extends AccessibleJComponent
implements AccessibleValue { implements AccessibleValue {
@ -2151,6 +2153,7 @@ public class JInternalFrame extends JComponent implements
* *
* @author David Kloba * @author David Kloba
*/ */
@SuppressWarnings("serial") // Same-version serialization only
static public class JDesktopIcon extends JComponent implements Accessible static public class JDesktopIcon extends JComponent implements Accessible
{ {
JInternalFrame internalFrame; JInternalFrame internalFrame;
@ -2323,6 +2326,7 @@ public class JInternalFrame extends JComponent implements
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJDesktopIcon extends AccessibleJComponent protected class AccessibleJDesktopIcon extends AccessibleJComponent
implements AccessibleValue { implements AccessibleValue {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -277,6 +277,7 @@ import static sun.swing.SwingUtilities2.Section.*;
* *
* @author Hans Muller * @author Hans Muller
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JList<E> extends JComponent implements Scrollable, Accessible public class JList<E> extends JComponent implements Scrollable, Accessible
{ {
/** /**
@ -2881,6 +2882,7 @@ public class JList<E> extends JComponent implements Scrollable, Accessible
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJList extends AccessibleJComponent protected class AccessibleJList extends AccessibleJComponent
implements AccessibleSelection, PropertyChangeListener, implements AccessibleSelection, PropertyChangeListener,
ListSelectionListener, ListDataListener { ListSelectionListener, ListDataListener {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -310,6 +310,7 @@ import static javax.swing.ClientPropertyKey.PopupFactory_FORCE_HEAVYWEIGHT_POPUP
* @author James Gosling * @author James Gosling
* @author Scott Violet * @author Scott Violet
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JOptionPane extends JComponent implements Accessible public class JOptionPane extends JComponent implements Accessible
{ {
/** /**
@ -2576,6 +2577,7 @@ public class JOptionPane extends JComponent implements Accessible
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJOptionPane extends AccessibleJComponent { protected class AccessibleJOptionPane extends AccessibleJComponent {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -62,6 +62,7 @@ import java.io.IOException;
* @author Arnaud Weber * @author Arnaud Weber
* @author Steve Wilson * @author Steve Wilson
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JPanel extends JComponent implements Accessible public class JPanel extends JComponent implements Accessible
{ {
/** /**
@ -233,6 +234,7 @@ public class JPanel extends JComponent implements Accessible
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJPanel extends AccessibleJComponent { protected class AccessibleJPanel extends AccessibleJComponent {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -74,6 +74,7 @@ import java.util.Arrays;
* *
* @author Timothy Prinzing * @author Timothy Prinzing
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JPasswordField extends JTextField { public class JPasswordField extends JTextField {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -129,6 +129,7 @@ import javax.swing.plaf.ProgressBarUI;
* @author Michael C. Albers * @author Michael C. Albers
* @author Kathy Walrath * @author Kathy Walrath
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JProgressBar extends JComponent implements SwingConstants, Accessible public class JProgressBar extends JComponent implements SwingConstants, Accessible
{ {
/** /**
@ -647,6 +648,7 @@ public class JProgressBar extends JComponent implements SwingConstants, Accessib
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
private class ModelListener implements ChangeListener, Serializable { private class ModelListener implements ChangeListener, Serializable {
public void stateChanged(ChangeEvent e) { public void stateChanged(ChangeEvent e) {
fireStateChanged(); fireStateChanged();
@ -1035,6 +1037,7 @@ public class JProgressBar extends JComponent implements SwingConstants, Accessib
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJProgressBar extends AccessibleJComponent protected class AccessibleJProgressBar extends AccessibleJComponent
implements AccessibleValue { implements AccessibleValue {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -86,6 +86,7 @@ import java.io.IOException;
* @see JCheckBox * @see JCheckBox
* @author Jeff Dinkins * @author Jeff Dinkins
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JRadioButton extends JToggleButton implements Accessible { public class JRadioButton extends JToggleButton implements Accessible {
/** /**
@ -284,6 +285,7 @@ public class JRadioButton extends JToggleButton implements Accessible {
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJRadioButton extends AccessibleJToggleButton { protected class AccessibleJRadioButton extends AccessibleJToggleButton {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -83,6 +83,7 @@ import javax.accessibility.*;
* @author David Karlton * @author David Karlton
* @see ButtonGroup * @see ButtonGroup
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JRadioButtonMenuItem extends JMenuItem implements Accessible { public class JRadioButtonMenuItem extends JMenuItem implements Accessible {
/** /**
* @see #getUIClassID * @see #getUIClassID
@ -266,6 +267,7 @@ public class JRadioButtonMenuItem extends JMenuItem implements Accessible {
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJRadioButtonMenuItem extends AccessibleJMenuItem { protected class AccessibleJRadioButtonMenuItem extends AccessibleJMenuItem {
/** /**
* Get the role of this object. * Get the role of this object.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -78,6 +78,7 @@ import java.io.IOException;
* *
* @author David Kloba * @author David Kloba
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JScrollBar extends JComponent implements Adjustable, Accessible public class JScrollBar extends JComponent implements Adjustable, Accessible
{ {
/** /**
@ -842,6 +843,7 @@ public class JScrollBar extends JComponent implements Adjustable, Accessible
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJScrollBar extends AccessibleJComponent protected class AccessibleJScrollBar extends AccessibleJComponent
implements AccessibleValue { implements AccessibleValue {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -168,6 +168,7 @@ import java.beans.Transient;
* *
* @author Hans Muller * @author Hans Muller
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JScrollPane extends JComponent implements ScrollPaneConstants, Accessible public class JScrollPane extends JComponent implements ScrollPaneConstants, Accessible
{ {
private Border viewportBorder; private Border viewportBorder;
@ -685,6 +686,7 @@ public class JScrollPane extends JComponent implements ScrollPaneConstants, Acce
* @see JScrollPane#createVerticalScrollBar * @see JScrollPane#createVerticalScrollBar
* @see JScrollPane#createHorizontalScrollBar * @see JScrollPane#createHorizontalScrollBar
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class ScrollBar extends JScrollBar implements UIResource protected class ScrollBar extends JScrollBar implements UIResource
{ {
/** /**
@ -1441,6 +1443,7 @@ public class JScrollPane extends JComponent implements ScrollPaneConstants, Acce
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJScrollPane extends AccessibleJComponent protected class AccessibleJScrollPane extends AccessibleJComponent
implements ChangeListener, PropertyChangeListener { implements ChangeListener, PropertyChangeListener {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -78,6 +78,7 @@ import java.beans.*;
* *
* @author David Kloba * @author David Kloba
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JSlider extends JComponent implements SwingConstants, Accessible { public class JSlider extends JComponent implements SwingConstants, Accessible {
/** /**
* @see #getUIClassID * @see #getUIClassID
@ -1429,6 +1430,7 @@ public class JSlider extends JComponent implements SwingConstants, Accessible {
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJSlider extends AccessibleJComponent protected class AccessibleJSlider extends AccessibleJComponent
implements AccessibleValue { implements AccessibleValue {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -126,6 +126,7 @@ import sun.util.locale.provider.LocaleServiceProviderPool;
* @author Lynn Monsanto (accessibility) * @author Lynn Monsanto (accessibility)
* @since 1.4 * @since 1.4
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JSpinner extends JComponent implements Accessible public class JSpinner extends JComponent implements Accessible
{ {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -98,6 +98,7 @@ import java.io.IOException;
* *
* @author Scott Violet * @author Scott Violet
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JSplitPane extends JComponent implements Accessible public class JSplitPane extends JComponent implements Accessible
{ {
/** /**
@ -1156,6 +1157,7 @@ public class JSplitPane extends JComponent implements Accessible
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJSplitPane extends AccessibleJComponent protected class AccessibleJSplitPane extends AccessibleJComponent
implements AccessibleValue { implements AccessibleValue {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -106,6 +106,7 @@ import java.io.IOException;
* *
* @see SingleSelectionModel * @see SingleSelectionModel
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JTabbedPane extends JComponent public class JTabbedPane extends JComponent
implements Serializable, Accessible, SwingConstants { implements Serializable, Accessible, SwingConstants {
@ -1889,6 +1890,7 @@ public class JTabbedPane extends JComponent
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJTabbedPane extends AccessibleJComponent protected class AccessibleJTabbedPane extends AccessibleJComponent
implements AccessibleSelection, ChangeListener { implements AccessibleSelection, ChangeListener {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -218,6 +218,7 @@ import sun.swing.SwingLazyValue;
/* The first versions of the JTable, contained in Swing-0.1 through /* The first versions of the JTable, contained in Swing-0.1 through
* Swing-0.4, were written by Alan Chung. * Swing-0.4, were written by Alan Chung.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JTable extends JComponent implements TableModelListener, Scrollable, public class JTable extends JComponent implements TableModelListener, Scrollable,
TableColumnModelListener, ListSelectionListener, CellEditorListener, TableColumnModelListener, ListSelectionListener, CellEditorListener,
Accessible, RowSorterListener Accessible, RowSorterListener
@ -6583,6 +6584,7 @@ public class JTable extends JComponent implements TableModelListener, Scrollable
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJTable extends AccessibleJComponent protected class AccessibleJTable extends AccessibleJComponent
implements AccessibleSelection, ListSelectionListener, TableModelListener, implements AccessibleSelection, ListSelectionListener, TableModelListener,
TableColumnModelListener, CellEditorListener, PropertyChangeListener, TableColumnModelListener, CellEditorListener, PropertyChangeListener,

View File

@ -124,6 +124,7 @@ import java.io.IOException;
* @see JTextPane * @see JTextPane
* @see JEditorPane * @see JEditorPane
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JTextArea extends JTextComponent { public class JTextArea extends JTextComponent {
/** /**
@ -787,6 +788,7 @@ public class JTextArea extends JTextComponent {
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJTextArea extends AccessibleJTextComponent { protected class AccessibleJTextArea extends AccessibleJTextComponent {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -161,6 +161,7 @@ import java.io.Serializable;
* @see JPasswordField * @see JPasswordField
* @see #addActionListener * @see #addActionListener
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JTextField extends JTextComponent implements SwingConstants { public class JTextField extends JTextComponent implements SwingConstants {
/** /**
@ -943,6 +944,7 @@ public class JTextField extends JTextComponent implements SwingConstants {
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJTextField extends AccessibleJTextComponent { protected class AccessibleJTextField extends AccessibleJTextComponent {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -79,6 +79,7 @@ import javax.swing.plaf.*;
* @author Timothy Prinzing * @author Timothy Prinzing
* @see javax.swing.text.StyledEditorKit * @see javax.swing.text.StyledEditorKit
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JTextPane extends JEditorPane { public class JTextPane extends JEditorPane {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -76,6 +76,7 @@ import java.io.IOException;
* @see JCheckBox * @see JCheckBox
* @author Jeff Dinkins * @author Jeff Dinkins
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JToggleButton extends AbstractButton implements Accessible { public class JToggleButton extends AbstractButton implements Accessible {
/** /**
@ -222,6 +223,7 @@ public class JToggleButton extends AbstractButton implements Accessible {
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public static class ToggleButtonModel extends DefaultButtonModel { public static class ToggleButtonModel extends DefaultButtonModel {
/** /**
@ -384,6 +386,7 @@ public class JToggleButton extends AbstractButton implements Accessible {
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJToggleButton extends AccessibleAbstractButton protected class AccessibleJToggleButton extends AccessibleAbstractButton
implements ItemListener { implements ItemListener {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -86,6 +86,7 @@ import java.util.Hashtable;
* @author Jeff Shapiro * @author Jeff Shapiro
* @see Action * @see Action
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JToolBar extends JComponent implements SwingConstants, Accessible public class JToolBar extends JComponent implements SwingConstants, Accessible
{ {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -102,6 +102,7 @@ import java.io.Serializable;
* @author Philip Milne * @author Philip Milne
* @see JScrollPane * @see JScrollPane
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class JViewport extends JComponent implements Accessible public class JViewport extends JComponent implements Accessible
{ {
/** /**
@ -1296,6 +1297,7 @@ public class JViewport extends JComponent implements Accessible
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class ViewListener extends ComponentAdapter implements Serializable protected class ViewListener extends ComponentAdapter implements Serializable
{ {
public void componentResized(ComponentEvent e) { public void componentResized(ComponentEvent e) {
@ -1765,6 +1767,7 @@ public class JViewport extends JComponent implements Accessible
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class AccessibleJViewport extends AccessibleJComponent { protected class AccessibleJViewport extends AccessibleJComponent {
/** /**
* Get the role of this object. * Get the role of this object.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -61,6 +61,7 @@ import java.awt.event.KeyEvent;
* @author Arnaud Weber * @author Arnaud Weber
* @author David Mendenhall * @author David Mendenhall
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class KeyStroke extends AWTKeyStroke { public class KeyStroke extends AWTKeyStroke {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -51,6 +51,7 @@ import java.io.Serializable;
* *
* @author Timothy Prinzing * @author Timothy Prinzing
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class OverlayLayout implements LayoutManager2,Serializable { public class OverlayLayout implements LayoutManager2,Serializable {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -57,6 +57,7 @@ import java.io.Serializable;
* *
* @author Hans Muller * @author Hans Muller
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class ScrollPaneLayout public class ScrollPaneLayout
implements LayoutManager, ScrollPaneConstants, Serializable implements LayoutManager, ScrollPaneConstants, Serializable
{ {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -93,6 +93,7 @@ import java.io.Serializable;
* *
* @author Timothy Prinzing * @author Timothy Prinzing
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class SizeRequirements implements Serializable { public class SizeRequirements implements Serializable {
/** /**

View File

@ -127,6 +127,7 @@ import java.awt.Component;
* @author Philip Milne * @author Philip Milne
* @since 1.4 * @since 1.4
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public abstract class Spring { public abstract class Spring {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -184,6 +184,7 @@ import java.util.*;
* @author Joe Winchester * @author Joe Winchester
* @since 1.4 * @since 1.4
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class SpringLayout implements LayoutManager2 { public class SpringLayout implements LayoutManager2 {
private Map<Component, Constraints> componentConstraints = new HashMap<Component, Constraints>(); private Map<Component, Constraints> componentConstraints = new HashMap<Component, Constraints>();

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -72,6 +72,7 @@ import sun.util.CoreResourceBundleControl;
* @see UIManager * @see UIManager
* @author Hans Muller * @author Hans Muller
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class UIDefaults extends Hashtable<Object,Object> public class UIDefaults extends Hashtable<Object,Object>
{ {
private static final Object PENDING = "Pending"; private static final Object PENDING = "Pending";

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -174,6 +174,7 @@ import sun.awt.AWTAccessor;
* @author Thomas Ball * @author Thomas Ball
* @author Hans Muller * @author Hans Muller
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class UIManager implements Serializable public class UIManager implements Serializable
{ {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,6 +39,7 @@ package javax.swing;
* *
* @author unattributed * @author unattributed
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class UnsupportedLookAndFeelException extends Exception public class UnsupportedLookAndFeelException extends Exception
{ {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -56,6 +56,7 @@ import java.io.Serializable;
* *
* @author Hans Muller * @author Hans Muller
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class ViewportLayout implements LayoutManager, Serializable public class ViewportLayout implements LayoutManager, Serializable
{ {
// Single instance used by JViewport. // Single instance used by JViewport.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -44,6 +44,7 @@ import java.beans.ConstructorProperties;
* *
* @author David Kloba * @author David Kloba
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class BevelBorder extends AbstractBorder public class BevelBorder extends AbstractBorder
{ {
/** Raised bevel type. */ /** Raised bevel type. */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -51,6 +51,7 @@ import java.beans.ConstructorProperties;
* @author David Kloba * @author David Kloba
* @author Amy Fowler * @author Amy Fowler
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class EtchedBorder extends AbstractBorder public class EtchedBorder extends AbstractBorder
{ {
/** Raised etched type. */ /** Raised etched type. */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -50,6 +50,7 @@ import java.beans.ConstructorProperties;
* *
* @author David Kloba * @author David Kloba
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class LineBorder extends AbstractBorder public class LineBorder extends AbstractBorder
{ {
private static Border blackLine; private static Border blackLine;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -47,6 +47,7 @@ import java.beans.ConstructorProperties;
* @author Amy Fowler * @author Amy Fowler
* @author Chester Rose * @author Chester Rose
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class SoftBevelBorder extends BevelBorder public class SoftBevelBorder extends BevelBorder
{ {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -50,6 +50,7 @@ import java.beans.ConstructorProperties;
* *
* @since 1.7 * @since 1.7
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class StrokeBorder extends AbstractBorder { public class StrokeBorder extends AbstractBorder {
private final BasicStroke stroke; private final BasicStroke stroke;
private final Paint paint; private final Paint paint;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -47,6 +47,7 @@ import javax.swing.*;
* @author Tom Santos * @author Tom Santos
* @author Steve Wilson * @author Steve Wilson
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public abstract class AbstractColorChooserPanel extends JPanel { public abstract class AbstractColorChooserPanel extends JPanel {
private final PropertyChangeListener enabledListener = new PropertyChangeListener() { private final PropertyChangeListener enabledListener = new PropertyChangeListener() {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -43,6 +43,7 @@ import javax.swing.JComponent;
* *
* @author Steve Wilson * @author Steve Wilson
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class ColorChooserComponentFactory { public class ColorChooserComponentFactory {
private ColorChooserComponentFactory() { } // can't instantiate private ColorChooserComponentFactory() { } // can't instantiate

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -53,6 +53,7 @@ import sun.swing.SwingUtilities2;
* @author Steve Wilson * @author Steve Wilson
* @see JColorChooser * @see JColorChooser
*/ */
@SuppressWarnings("serial") // Same-version serialization only
class DefaultPreviewPanel extends JPanel { class DefaultPreviewPanel extends JPanel {
private int squareSize = 25; private int squareSize = 25;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -51,6 +51,7 @@ import javax.accessibility.*;
* *
* @author Steve Wilson * @author Steve Wilson
*/ */
@SuppressWarnings("serial") // Same-version serialization only
class DefaultSwatchChooserPanel extends AbstractColorChooserPanel { class DefaultSwatchChooserPanel extends AbstractColorChooserPanel {
SwatchPanel swatchPanel; SwatchPanel swatchPanel;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -42,6 +42,7 @@ import java.util.EventObject;
* *
* @author Timothy Prinzing * @author Timothy Prinzing
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public abstract class CaretEvent extends EventObject { public abstract class CaretEvent extends EventObject {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -45,6 +45,7 @@ import javax.swing.text.Element;
* *
* @author Timothy Prinzing * @author Timothy Prinzing
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class HyperlinkEvent extends EventObject { public class HyperlinkEvent extends EventObject {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -53,6 +53,7 @@ import javax.swing.JInternalFrame;
* *
* @author Thomas Ball * @author Thomas Ball
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class InternalFrameEvent extends AWTEvent { public class InternalFrameEvent extends AWTEvent {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -50,6 +50,7 @@ import javax.swing.*;
* @author Ray Ryan * @author Ray Ryan
* @see ListSelectionModel * @see ListSelectionModel
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class ListSelectionEvent extends EventObject public class ListSelectionEvent extends EventObject
{ {
private int firstIndex; private int firstIndex;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -45,6 +45,7 @@ import javax.swing.table.*;
* @author Alan Chung * @author Alan Chung
* @see TableColumnModelListener * @see TableColumnModelListener
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class TableColumnModelEvent extends java.util.EventObject public class TableColumnModelEvent extends java.util.EventObject
{ {
// //

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -65,6 +65,7 @@ import javax.swing.table.*;
* @author Philip Milne * @author Philip Milne
* @see TableModel * @see TableModel
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class TableModelEvent extends java.util.EventObject public class TableModelEvent extends java.util.EventObject
{ {
/** Identifies the addition of new rows or columns. */ /** Identifies the addition of new rows or columns. */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -48,6 +48,7 @@ import javax.swing.tree.TreePath;
* *
* @author Scott Violet * @author Scott Violet
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class TreeExpansionEvent extends EventObject public class TreeExpansionEvent extends EventObject
{ {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -50,6 +50,7 @@ import javax.swing.tree.TreePath;
* @author Ray Ryan * @author Ray Ryan
* @author Scott Violet * @author Scott Violet
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class TreeModelEvent extends EventObject { public class TreeModelEvent extends EventObject {
/** Path to the parent of the nodes that have changed. */ /** Path to the parent of the nodes that have changed. */
protected TreePath path; protected TreePath path;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -41,6 +41,7 @@ import javax.swing.undo.*;
* *
* @author Ray Ryan * @author Ray Ryan
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class UndoableEditEvent extends java.util.EventObject { public class UndoableEditEvent extends java.util.EventObject {
private UndoableEdit myEdit; private UndoableEdit myEdit;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -59,6 +59,7 @@ import javax.swing.plaf.UIResource;
* @author Amy Fowler * @author Amy Fowler
* *
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class BorderUIResource implements Border, UIResource, Serializable public class BorderUIResource implements Border, UIResource, Serializable
{ {
static Border etched; static Border etched;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -45,6 +45,7 @@ import java.beans.ConstructorProperties;
* @author Hans Muller * @author Hans Muller
* *
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class ColorUIResource extends Color implements UIResource public class ColorUIResource extends Color implements UIResource
{ {
@ConstructorProperties({"red", "green", "blue"}) @ConstructorProperties({"red", "green", "blue"})

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -48,6 +48,7 @@ import javax.swing.plaf.UIResource;
* @author Amy Fowler * @author Amy Fowler
* *
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class DimensionUIResource extends Dimension implements UIResource public class DimensionUIResource extends Dimension implements UIResource
{ {
public DimensionUIResource(int width, int height) { public DimensionUIResource(int width, int height) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -47,6 +47,7 @@ import javax.swing.plaf.UIResource;
* @author Hans Muller * @author Hans Muller
* *
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class FontUIResource extends Font implements UIResource public class FontUIResource extends Font implements UIResource
{ {
public FontUIResource(String name, int style, int size) { public FontUIResource(String name, int style, int size) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -52,6 +52,7 @@ import javax.swing.plaf.UIResource;
* @author Amy Fowler * @author Amy Fowler
* *
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class IconUIResource implements Icon, UIResource, Serializable public class IconUIResource implements Icon, UIResource, Serializable
{ {
private Icon delegate; private Icon delegate;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -47,6 +47,7 @@ import javax.swing.plaf.UIResource;
* @author Amy Fowler * @author Amy Fowler
* *
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class InsetsUIResource extends Insets implements UIResource public class InsetsUIResource extends Insets implements UIResource
{ {
public InsetsUIResource(int top, int left, int bottom, int right) { public InsetsUIResource(int top, int left, int bottom, int right) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -45,6 +45,7 @@ import javax.swing.plaf.UIResource;
* *
* @author David Kloba * @author David Kloba
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class BasicArrowButton extends JButton implements SwingConstants public class BasicArrowButton extends JButton implements SwingConstants
{ {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -49,6 +49,7 @@ import java.io.Serializable;
* *
* @author Jeff Dinkins * @author Jeff Dinkins
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class BasicCheckBoxUI extends BasicRadioButtonUI { public class BasicCheckBoxUI extends BasicRadioButtonUI {
private static final Object BASIC_CHECK_BOX_UI_KEY = new Object(); private static final Object BASIC_CHECK_BOX_UI_KEY = new Object();

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -164,6 +164,7 @@ public class BasicComboBoxEditor implements ComboBoxEditor,FocusListener {
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public static class UIResource extends BasicComboBoxEditor public static class UIResource extends BasicComboBoxEditor
implements javax.swing.plaf.UIResource { implements javax.swing.plaf.UIResource {
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -47,6 +47,7 @@ import java.io.Serializable;
* *
* @author Arnaud Weber * @author Arnaud Weber
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class BasicComboBoxRenderer extends JLabel public class BasicComboBoxRenderer extends JLabel
implements ListCellRenderer, Serializable { implements ListCellRenderer, Serializable {
@ -139,6 +140,7 @@ implements ListCellRenderer, Serializable {
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public static class UIResource extends BasicComboBoxRenderer implements javax.swing.plaf.UIResource { public static class UIResource extends BasicComboBoxRenderer implements javax.swing.plaf.UIResource {
} }
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -60,6 +60,7 @@ import java.io.Serializable;
* @author Tom Santos * @author Tom Santos
* @author Mark Davidson * @author Mark Davidson
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class BasicComboPopup extends JPopupMenu implements ComboPopup { public class BasicComboPopup extends JPopupMenu implements ComboPopup {
// An empty ListMode, this is used when the UI changes to allow // An empty ListMode, this is used when the UI changes to allow
// the JList to be gc'ed. // the JList to be gc'ed.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -50,6 +50,7 @@ import javax.swing.border.*;
* *
* @author Timothy Prinzing * @author Timothy Prinzing
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class BasicEditorPaneUI extends BasicTextUI { public class BasicEditorPaneUI extends BasicTextUI {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -49,6 +49,7 @@ import java.io.Serializable;
* @author David Kloba * @author David Kloba
* @author Georges Saab * @author Georges Saab
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class BasicIconFactory implements Serializable public class BasicIconFactory implements Serializable
{ {
private static Icon frame_icon; private static Icon frame_icon;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -57,6 +57,7 @@ import sun.swing.UIAction;
* @author David Kloba * @author David Kloba
* @author Steve Wilson * @author Steve Wilson
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class BasicInternalFrameTitlePane extends JComponent public class BasicInternalFrameTitlePane extends JComponent
{ {
protected JMenuBar menuBar; protected JMenuBar menuBar;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -1496,6 +1496,7 @@ public class BasicListUI extends ListUI
* @see #installKeyboardActions * @see #installKeyboardActions
* @see #installUI * @see #installUI
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class MouseInputHandler implements MouseInputListener public class MouseInputHandler implements MouseInputListener
{ {
public void mouseClicked(MouseEvent e) { public void mouseClicked(MouseEvent e) {
@ -1600,6 +1601,7 @@ public class BasicListUI extends ListUI
* @see #getCellBounds * @see #getCellBounds
* @see #installUI * @see #installUI
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class ListSelectionHandler implements ListSelectionListener public class ListSelectionHandler implements ListSelectionListener
{ {
public void valueChanged(ListSelectionEvent e) public void valueChanged(ListSelectionEvent e)
@ -1659,6 +1661,7 @@ public class BasicListUI extends ListUI
* @see #createListDataListener * @see #createListDataListener
* @see #installUI * @see #installUI
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class ListDataHandler implements ListDataListener public class ListDataHandler implements ListDataListener
{ {
public void intervalAdded(ListDataEvent e) { public void intervalAdded(ListDataEvent e) {
@ -1725,6 +1728,7 @@ public class BasicListUI extends ListUI
* @see #createPropertyChangeListener * @see #createPropertyChangeListener
* @see #installUI * @see #installUI
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class PropertyChangeHandler implements PropertyChangeListener public class PropertyChangeHandler implements PropertyChangeListener
{ {
public void propertyChange(PropertyChangeEvent e) public void propertyChange(PropertyChangeEvent e)

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -102,6 +102,7 @@ import java.beans.PropertyChangeEvent;
* *
* @author unattributed * @author unattributed
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public abstract class BasicLookAndFeel extends LookAndFeel implements Serializable public abstract class BasicLookAndFeel extends LookAndFeel implements Serializable
{ {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -59,6 +59,7 @@ import sun.swing.DefaultLookup;
* *
* @author Scott Violet * @author Scott Violet
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class BasicSplitPaneDivider extends Container public class BasicSplitPaneDivider extends Container
implements PropertyChangeListener implements PropertyChangeListener
{ {
@ -675,6 +676,7 @@ public class BasicSplitPaneDivider extends Container
* has been added to the <code>java.beans</code> package. * has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}. * Please see {@link java.beans.XMLEncoder}.
*/ */
@SuppressWarnings("serial") // Same-version serialization only
protected class DragController protected class DragController
{ {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -49,6 +49,7 @@ import javax.swing.plaf.*;
* *
* @author Timothy Prinzing * @author Timothy Prinzing
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class BasicTextAreaUI extends BasicTextUI { public class BasicTextAreaUI extends BasicTextUI {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -51,6 +51,7 @@ import sun.swing.DefaultLookup;
* *
* @author Timothy Prinzing * @author Timothy Prinzing
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class BasicTextFieldUI extends BasicTextUI { public class BasicTextFieldUI extends BasicTextUI {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -47,6 +47,7 @@ import javax.swing.border.*;
* *
* @author Timothy Prinzing * @author Timothy Prinzing
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class BasicTextPaneUI extends BasicEditorPaneUI { public class BasicTextPaneUI extends BasicEditorPaneUI {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -100,6 +100,7 @@ import javax.swing.plaf.basic.DragRecognitionSupport.BeforeDrag;
* @author Timothy Prinzing * @author Timothy Prinzing
* @author Shannon Hickey (drag and drop) * @author Shannon Hickey (drag and drop)
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public abstract class BasicTextUI extends TextUI implements ViewFactory { public abstract class BasicTextUI extends TextUI implements ViewFactory {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2004, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -46,6 +46,7 @@ import javax.swing.JList;
* *
* @author Tom Santos * @author Tom Santos
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public interface ComboPopup { public interface ComboPopup {
/** /**
* Shows the popup * Shows the popup

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2008, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -88,6 +88,7 @@ import sun.swing.SwingUtilities2;
* *
* @author Steve Wilson * @author Steve Wilson
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class DefaultMetalTheme extends MetalTheme { public class DefaultMetalTheme extends MetalTheme {
/** /**
* Whether or not fonts should be plain. This is only used if * Whether or not fonts should be plain. This is only used if

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -50,6 +50,7 @@ import javax.swing.plaf.*;
* *
* @author Tom Santos * @author Tom Santos
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class MetalButtonUI extends BasicButtonUI { public class MetalButtonUI extends BasicButtonUI {
// NOTE: These are not really needed, but at this point we can't pull // NOTE: These are not really needed, but at this point we can't pull
// them. Their values are updated purely for historical reasons. // them. Their values are updated purely for historical reasons.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -46,6 +46,7 @@ import javax.swing.plaf.*;
* *
* @author Steve Wilson * @author Steve Wilson
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class MetalCheckBoxIcon implements Icon, UIResource, Serializable { public class MetalCheckBoxIcon implements Icon, UIResource, Serializable {
protected int getControlSize() { return 13; } protected int getControlSize() { return 13; }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -51,6 +51,7 @@ import java.io.Serializable;
* @author Michael C. Albers * @author Michael C. Albers
* *
*/ */
@SuppressWarnings("serial") // Same-version serialization only
public class MetalCheckBoxUI extends MetalRadioButtonUI { public class MetalCheckBoxUI extends MetalRadioButtonUI {
// NOTE: MetalCheckBoxUI inherts from MetalRadioButtonUI instead // NOTE: MetalCheckBoxUI inherts from MetalRadioButtonUI instead

Some files were not shown because too many files have changed in this diff Show More