8046485: Add missing @since tag under javax.swing.*

Reviewed-by: alexsch, prr
This commit is contained in:
Henry Jen 2014-06-18 09:13:46 -07:00
parent 48ca67c5c4
commit 410ba2a8f0
102 changed files with 102 additions and 1 deletions

View File

@ -55,6 +55,7 @@ import sun.security.action.GetPropertyAction;
*
* @author Georges Saab
* @see Action
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public abstract class AbstractAction implements Action, Cloneable, Serializable

View File

@ -71,6 +71,7 @@ import java.util.*;
* Please see {@link java.beans.XMLEncoder}.
*
* @author Jeff Dinkins
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public abstract class AbstractButton extends JComponent implements ItemSelectable, SwingConstants {

View File

@ -45,6 +45,7 @@ import java.util.EventListener;
* @param <E> the type of the elements of this model
*
* @author Hans Muller
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public abstract class AbstractListModel<E> implements ListModel<E>, Serializable

View File

@ -210,6 +210,7 @@ import java.beans.*;
*
* @author Georges Saab
* @see AbstractAction
* @since 1.2
*/
public interface Action extends ActionListener {
/**

View File

@ -40,6 +40,7 @@ import javax.swing.border.*;
* a section in <em>The Java Tutorial</em>.
*
* @author David Kloba
* @since 1.2
*/
public class BorderFactory
{

View File

@ -76,6 +76,7 @@ import javax.swing.event.*;
*
* @author Hans Muller
* @see DefaultBoundedRangeModel
* @since 1.2
*/
public interface BoundedRangeModel
{

View File

@ -75,6 +75,7 @@ import javax.accessibility.*;
* @see BoxLayout
*
* @author Timothy Prinzing
* @since 1.2
*/
@SuppressWarnings("serial")
public class Box extends JComponent implements Accessible {

View File

@ -134,6 +134,7 @@ import java.io.PrintStream;
* @see JComponent#getAlignmentY
*
* @author Timothy Prinzing
* @since 1.2
*/
@SuppressWarnings("serial")
public class BoxLayout implements LayoutManager2, Serializable {

View File

@ -64,6 +64,7 @@ import java.io.Serializable;
* Please see {@link java.beans.XMLEncoder}.
*
* @author Jeff Dinkins
* @since 1.2
*/
@SuppressWarnings("serial")
public class ButtonGroup implements Serializable {

View File

@ -72,6 +72,7 @@ import javax.swing.event.*;
* <code>ActionEvent</code> to be fired.
*
* @author Jeff Dinkins
* @since 1.2
*/
public interface ButtonModel extends ItemSelectable {

View File

@ -57,6 +57,7 @@ import javax.swing.event.*;
* @see javax.swing.event.CellEditorListener
*
* @author Alan Chung
* @since 1.2
*/
public interface CellEditor {

View File

@ -62,6 +62,7 @@ import javax.accessibility.*;
* Please see {@link java.beans.XMLEncoder}.
*
* @author Hans Muller
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class CellRendererPane extends Container implements Accessible

View File

@ -31,6 +31,7 @@ import java.awt.event.*;
* The editor component used for JComboBox components.
*
* @author Arnaud Weber
* @since 1.2
*/
public interface ComboBoxEditor {

View File

@ -36,6 +36,7 @@ package javax.swing;
* @param <E> the type of the elements of this model
*
* @author Arnaud Weber
* @since 1.2
*/
public interface ComboBoxModel<E> extends ListModel<E> {

View File

@ -45,6 +45,7 @@ import java.text.AttributedCharacterIterator;
* @see RepaintManager#setDoubleBufferingEnabled
*
* @author Dave Karlton
* @since 1.2
*/
public class DebugGraphics extends Graphics {
Graphics graphics;

View File

@ -44,6 +44,7 @@ import java.util.EventListener;
* @author David Kloba
* @author Hans Muller
* @see BoundedRangeModel
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class DefaultBoundedRangeModel implements BoundedRangeModel, Serializable

View File

@ -44,6 +44,7 @@ import javax.swing.event.*;
* Please see {@link java.beans.XMLEncoder}.
*
* @author Jeff Dinkins
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class DefaultButtonModel implements ButtonModel, Serializable {

View File

@ -49,6 +49,7 @@ import java.io.Serializable;
*
* @author Alan Chung
* @author Philip Milne
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class DefaultCellEditor extends AbstractCellEditor

View File

@ -35,6 +35,7 @@ import java.io.Serializable;
*
* @author Arnaud Weber
* @author Tom Santos
* @since 1.2
*/
@SuppressWarnings("serial") // Superclass is not serializable across versions
public class DefaultComboBoxModel<E> extends AbstractListModel<E> implements MutableComboBoxModel<E>, Serializable {

View File

@ -46,6 +46,7 @@ import java.beans.PropertyVetoException;
* @see JInternalFrame
* @author David Kloba
* @author Steve Wilson
* @since 1.2
*/
@SuppressWarnings("serial") // No Interesting Non-Transient State
public class DefaultDesktopManager implements DesktopManager, java.io.Serializable {

View File

@ -45,6 +45,7 @@ import java.util.Comparator;
*
* @author Arnaud Weber
* @author David Mendenhall
* @since 1.2
*/
@SuppressWarnings("serial") // Obsolete class
public class DefaultFocusManager extends FocusManager {

View File

@ -69,6 +69,7 @@ import sun.swing.DefaultLookup;
*
* @author Philip Milne
* @author Hans Muller
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class DefaultListCellRenderer extends JLabel

View File

@ -51,6 +51,7 @@ import javax.swing.event.*;
* @param <E> the type of the elements of this model
*
* @author Hans Muller
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class DefaultListModel<E> extends AbstractListModel<E>

View File

@ -48,6 +48,7 @@ import javax.swing.event.*;
* @author Philip Milne
* @author Hans Muller
* @see ListSelectionModel
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class DefaultListSelectionModel implements ListSelectionModel, Cloneable, Serializable

View File

@ -42,6 +42,7 @@ import java.util.EventListener;
* Please see {@link java.beans.XMLEncoder}.
*
* @author Dave Moore
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class DefaultSingleSelectionModel implements SingleSelectionModel,

View File

@ -43,6 +43,7 @@ package javax.swing;
* @see JInternalFrame.JDesktopIcon
*
* @author David Kloba
* @since 1.2
*/
public interface DesktopManager
{

View File

@ -44,6 +44,7 @@ import java.awt.*;
*
* @author Arnaud Weber
* @author David Mendenhall
* @since 1.2
*/
public abstract class FocusManager extends DefaultKeyboardFocusManager {

View File

@ -36,6 +36,7 @@ import java.awt.image.*;
* @author Jeff Dinkins
* @author Tom Ball
* @author Jim Graham
* @since 1.2
*/
public class GrayFilter extends RGBImageFilter {
private boolean brighter;

View File

@ -32,6 +32,7 @@ import java.awt.Component;
* A small fixed size picture, typically used to decorate components.
*
* @see ImageIcon
* @since 1.2
*/
public interface Icon

View File

@ -65,6 +65,7 @@ import java.security.*;
*
* @author Jeff Dinkins
* @author Lynn Monsanto
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class ImageIcon implements Icon, Serializable, Accessible {

View File

@ -89,6 +89,7 @@ import javax.accessibility.*;
* description: Swing's Applet subclass.
*
* @author Arnaud Weber
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JApplet extends Applet implements Accessible,

View File

@ -74,6 +74,7 @@ import java.io.IOException;
* description: An implementation of a \"push\" button.
*
* @author Jeff Dinkins
* @since 1.2
*/
@SuppressWarnings("serial")
public class JButton extends AbstractButton implements Accessible {

View File

@ -74,6 +74,7 @@ import java.io.IOException;
* description: A component which can be selected or deselected.
*
* @author Jeff Dinkins
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JCheckBox extends JToggleButton implements Accessible {

View File

@ -87,6 +87,7 @@ import javax.accessibility.*;
*
* @author Georges Saab
* @author David Karlton
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JCheckBoxMenuItem extends JMenuItem implements SwingConstants,

View File

@ -82,6 +82,7 @@ import sun.swing.SwingUtilities2;
* @author James Gosling
* @author Amy Fowler
* @author Steve Wilson
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JColorChooser extends JComponent implements Accessible {

View File

@ -77,6 +77,7 @@ import javax.accessibility.*;
*
* @author Arnaud Weber
* @author Mark Davidson
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JComboBox<E> extends JComponent

View File

@ -179,6 +179,7 @@ import sun.swing.UIClientPropertyKey;
*
* @author Hans Muller
* @author Arnaud Weber
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public abstract class JComponent extends Container implements Serializable,

View File

@ -85,6 +85,7 @@ import java.util.TreeSet;
* @see DesktopManager
*
* @author David Kloba
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JDesktopPane extends JLayeredPane implements Accessible

View File

@ -94,6 +94,7 @@ import javax.accessibility.*;
* @author David Kloba
* @author James Gosling
* @author Scott Violet
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JDialog extends Dialog implements WindowConstants,

View File

@ -188,6 +188,7 @@ import javax.accessibility.*;
* description: A text component to edit various types of content.
*
* @author Timothy Prinzing
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JEditorPane extends JTextComponent {

View File

@ -86,7 +86,7 @@ import java.lang.ref.WeakReference;
* description: A component which allows for the interactive selection of a file.
*
* @author Jeff Dinkins
*
* @since 1.2
*/
@SuppressWarnings("serial") // Superclass is not serializable across versions
public class JFileChooser extends JComponent implements Accessible {

View File

@ -111,6 +111,7 @@ import javax.accessibility.*;
* @author Jeff Dinkins
* @author Georges Saab
* @author David Kloba
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JFrame extends Frame implements WindowConstants,

View File

@ -104,6 +104,7 @@ import sun.swing.SwingUtilities2;
*
* @author David Kloba
* @author Rich Schiavi
* @since 1.2
* @beaninfo
* attribute: isContainer true
* attribute: containerDelegate getContentPane

View File

@ -103,6 +103,7 @@ import java.util.*;
* description: A component that displays a short string and an icon.
*
* @author Hans Muller
* @since 1.2
*/
@SuppressWarnings("serial")
public class JLabel extends JComponent implements SwingConstants, Accessible

View File

@ -153,6 +153,7 @@ import javax.accessibility.*;
* Please see {@link java.beans.XMLEncoder}.
*
* @author David Kloba
* @since 1.2
*/
@SuppressWarnings("serial")
public class JLayeredPane extends JComponent implements Accessible {

View File

@ -276,6 +276,7 @@ import static sun.swing.SwingUtilities2.Section.*;
* description: A component which allows for the selection of one or more objects from a list.
*
* @author Hans Muller
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JList<E> extends JComponent implements Scrollable, Accessible

View File

@ -108,6 +108,7 @@ import java.lang.ref.WeakReference;
* @see JSeparator
* @see JMenuBar
* @see JPopupMenu
* @since 1.2
*/
@SuppressWarnings("serial")
public class JMenu extends JMenuItem implements Accessible,MenuElement

View File

@ -88,6 +88,7 @@ import javax.accessibility.*;
* @see JMenu
* @see JPopupMenu
* @see JMenuItem
* @since 1.2
*/
@SuppressWarnings("serial")
public class JMenuBar extends JComponent implements Accessible,MenuElement

View File

@ -86,6 +86,7 @@ import javax.accessibility.*;
* @see JMenu
* @see JCheckBoxMenuItem
* @see JRadioButtonMenuItem
* @since 1.2
*/
@SuppressWarnings("serial")
public class JMenuItem extends AbstractButton implements Accessible,MenuElement {

View File

@ -310,6 +310,7 @@ import sun.awt.AWTAccessor;
*
* @author James Gosling
* @author Scott Violet
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JOptionPane extends JComponent implements Accessible

View File

@ -61,6 +61,7 @@ import java.io.IOException;
*
* @author Arnaud Weber
* @author Steve Wilson
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JPanel extends JComponent implements Accessible

View File

@ -73,6 +73,7 @@ import java.util.Arrays;
* description: Allows the editing of a line of text but doesn't show the characters.
*
* @author Timothy Prinzing
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JPasswordField extends JTextField {

View File

@ -82,6 +82,7 @@ import java.applet.Applet;
* @author Georges Saab
* @author David Karlton
* @author Arnaud Weber
* @since 1.2
*/
@SuppressWarnings("serial")
public class JPopupMenu extends JComponent implements Accessible,MenuElement {

View File

@ -128,6 +128,7 @@ import javax.swing.plaf.ProgressBarUI;
*
* @author Michael C. Albers
* @author Kathy Walrath
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JProgressBar extends JComponent implements SwingConstants, Accessible

View File

@ -85,6 +85,7 @@ import java.io.IOException;
* @see ButtonGroup
* @see JCheckBox
* @author Jeff Dinkins
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JRadioButton extends JToggleButton implements Accessible {

View File

@ -82,6 +82,7 @@ import javax.accessibility.*;
* @author Georges Saab
* @author David Karlton
* @see ButtonGroup
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JRadioButtonMenuItem extends JMenuItem implements Accessible {

View File

@ -197,6 +197,7 @@ import sun.security.action.GetBooleanAction;
* Mixing Heavy and Light Components</a>
*
* @author David Kloba
* @since 1.2
*/
/// PENDING(klobad) Who should be opaque in this component?
@SuppressWarnings("serial")

View File

@ -77,6 +77,7 @@ import java.io.IOException;
* description: A component that helps determine the visible content range of an area.
*
* @author David Kloba
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JScrollBar extends JComponent implements Adjustable, Accessible

View File

@ -167,6 +167,7 @@ import java.beans.Transient;
* description: A specialized container that manages a viewport, optional scrollbars and headers
*
* @author Hans Muller
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JScrollPane extends JComponent implements ScrollPaneConstants, Accessible

View File

@ -70,6 +70,7 @@ import java.io.IOException;
*
* @author Georges Saab
* @author Jeff Shapiro
* @since 1.2
*/
@SuppressWarnings("serial")
public class JSeparator extends JComponent implements SwingConstants, Accessible

View File

@ -77,6 +77,7 @@ import java.beans.*;
* description: A component that supports selecting a integer value from a range.
*
* @author David Kloba
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JSlider extends JComponent implements SwingConstants, Accessible {

View File

@ -97,6 +97,7 @@ import java.io.IOException;
* @see #resetToPreferredSizes
*
* @author Scott Violet
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JSplitPane extends JComponent implements Accessible

View File

@ -105,6 +105,7 @@ import java.io.IOException;
* @author Amy Fowler
*
* @see SingleSelectionModel
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JTabbedPane extends JComponent

View File

@ -212,6 +212,7 @@ import sun.swing.PrintingStatus;
* @author Shannon Hickey (printing support)
* @see javax.swing.table.DefaultTableModel
* @see javax.swing.table.TableRowSorter
* @since 1.2
*/
/* The first versions of the JTable, contained in Swing-0.1 through
* Swing-0.4, were written by Alan Chung.

View File

@ -123,6 +123,7 @@ import java.io.IOException;
* @author Timothy Prinzing
* @see JTextPane
* @see JEditorPane
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JTextArea extends JTextComponent {

View File

@ -160,6 +160,7 @@ import java.io.Serializable;
* @see #setActionCommand
* @see JPasswordField
* @see #addActionListener
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JTextField extends JTextComponent implements SwingConstants {

View File

@ -78,6 +78,7 @@ import javax.swing.plaf.*;
*
* @author Timothy Prinzing
* @see javax.swing.text.StyledEditorKit
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JTextPane extends JEditorPane {

View File

@ -75,6 +75,7 @@ import java.io.IOException;
* @see JRadioButton
* @see JCheckBox
* @author Jeff Dinkins
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JToggleButton extends AbstractButton implements Accessible {

View File

@ -85,6 +85,7 @@ import java.util.Hashtable;
* @author Georges Saab
* @author Jeff Shapiro
* @see Action
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JToolBar extends JComponent implements SwingConstants, Accessible

View File

@ -66,6 +66,7 @@ import java.util.Objects;
* @see JComponent#createToolTip
* @author Dave Moore
* @author Rich Shiavi
* @since 1.2
*/
@SuppressWarnings("serial")
public class JToolTip extends JComponent implements Accessible {

View File

@ -141,6 +141,7 @@ import static sun.swing.SwingUtilities2.Section.*;
* @author Rob Davis
* @author Ray Ryan
* @author Scott Violet
* @since 1.2
*/
@SuppressWarnings("serial")
public class JTree extends JComponent implements Scrollable, Accessible

View File

@ -97,6 +97,7 @@ import java.io.Serializable;
* @author Hans Muller
* @author Philip Milne
* @see JScrollPane
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class JViewport extends JComponent implements Accessible

View File

@ -89,6 +89,7 @@ import javax.accessibility.*;
* description: A toplevel window which has no system border or controls.
*
* @author David Kloba
* @since 1.2
*/
@SuppressWarnings("serial")
public class JWindow extends Window implements Accessible,

View File

@ -60,6 +60,7 @@ import java.awt.event.KeyEvent;
*
* @author Arnaud Weber
* @author David Mendenhall
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class KeyStroke extends AWTKeyStroke {

View File

@ -85,6 +85,7 @@ import java.awt.Component;
* @see DefaultListCellRenderer
*
* @author Hans Muller
* @since 1.2
*/
public interface ListCellRenderer<E>
{

View File

@ -39,6 +39,7 @@ import javax.swing.event.ListDataListener;
*
* @author Hans Muller
* @see JList
* @since 1.2
*/
public interface ListModel<E>
{

View File

@ -41,6 +41,7 @@ import javax.swing.event.*;
* @author Hans Muller
* @author Philip Milne
* @see DefaultListSelectionModel
* @since 1.2
*/
public interface ListSelectionModel

View File

@ -147,6 +147,7 @@ import java.util.StringTokenizer;
*
* @author Tom Ball
* @author Hans Muller
* @since 1.2
*/
public abstract class LookAndFeel
{

View File

@ -33,6 +33,7 @@ import java.awt.event.*;
* to handle selection and navigation in menu hierarchies.
*
* @author Arnaud Weber
* @since 1.2
*/
public interface MenuElement {

View File

@ -36,6 +36,7 @@ import sun.swing.SwingUtilities2;
* A MenuSelectionManager owns the selection in menu hierarchy.
*
* @author Arnaud Weber
* @since 1.2
*/
public class MenuSelectionManager {
private Vector<MenuElement> selection = new Vector<MenuElement>();

View File

@ -30,6 +30,7 @@ package javax.swing;
* @param <E> the type of the elements of this model
*
* @author Tom Santos
* @since 1.2
*/
public interface MutableComboBoxModel<E> extends ComboBoxModel<E> {

View File

@ -50,6 +50,7 @@ import java.io.Serializable;
* Please see {@link java.beans.XMLEncoder}.
*
* @author Timothy Prinzing
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class OverlayLayout implements LayoutManager2,Serializable {

View File

@ -59,6 +59,7 @@ import java.awt.Graphics2D;
* <p>This interface makes no guarantees of threadsafety.</p>
*
* @author rbair
* @since 1.7
*/
public interface Painter<T> {
/**

View File

@ -77,6 +77,7 @@ import javax.swing.text.*;
* @see ProgressMonitorInputStream
* @author James Gosling
* @author Lynn Monsanto (accessibility)
* @since 1.2
*/
public class ProgressMonitor implements Accessible
{

View File

@ -60,6 +60,7 @@ import java.awt.Component;
* @see ProgressMonitor
* @see JOptionPane
* @author James Gosling
* @since 1.2
*/
public class ProgressMonitorInputStream extends FilterInputStream
{

View File

@ -32,6 +32,7 @@ import java.awt.Component;
* "rendering" (displaying) a value.
*
* @author Arnaud Weber
* @since 1.2
*/
public interface Renderer {
/**

View File

@ -60,6 +60,7 @@ import sun.swing.SwingUtilities2.RepaintListener;
* appropriate <code>addDirtyRegion</code> method.
*
* @author Arnaud Weber
* @since 1.2
*/
public class RepaintManager
{

View File

@ -77,6 +77,7 @@ import java.awt.Container;
* @see JInternalFrame
*
* @author Hans Muller
* @since 1.2
*/
public interface RootPaneContainer
{

View File

@ -30,6 +30,7 @@ package javax.swing;
* Constants used with the JScrollPane component.
*
* @author Hans Muller
* @since 1.2
*/
public interface ScrollPaneConstants
{

View File

@ -56,6 +56,7 @@ import java.io.Serializable;
* @see JViewport
*
* @author Hans Muller
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class ScrollPaneLayout

View File

@ -39,6 +39,7 @@ import java.awt.Rectangle;
* @see JScrollPane
* @see JScrollBar
* @author Hans Muller
* @since 1.2
*/
public interface Scrollable
{

View File

@ -31,6 +31,7 @@ import javax.swing.event.*;
* A model that supports at most one indexed selection.
*
* @author Dave Moore
* @since 1.2
*/
public interface SingleSelectionModel {
/**

View File

@ -92,6 +92,7 @@ import java.io.Serializable;
* @see Component#getAlignmentY
*
* @author Timothy Prinzing
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class SizeRequirements implements Serializable {

View File

@ -31,6 +31,7 @@ package javax.swing;
*
* @author Jeff Dinkins
* @author Ralph Kar (orientation support)
* @since 1.2
*/
public interface SwingConstants {

View File

@ -49,6 +49,7 @@ import sun.awt.AppContext;
* A collection of utility methods for Swing.
*
* @author unknown
* @since 1.2
*/
public class SwingUtilities implements SwingConstants
{

View File

@ -145,6 +145,7 @@ import javax.swing.event.EventListenerList;
*
*
* @author Dave Moore
* @since 1.2
*/
@SuppressWarnings("serial")
public class Timer implements Serializable

View File

@ -49,6 +49,7 @@ import java.awt.*;
* @see JComponent#createToolTip
* @author Dave Moore
* @author Rich Schiavi
* @since 1.2
*/
public class ToolTipManager extends MouseAdapter implements MouseMotionListener {
Timer enterTimer, exitTimer, insideTimer;

View File

@ -71,6 +71,7 @@ import sun.util.CoreResourceBundleControl;
*
* @see UIManager
* @author Hans Muller
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class UIDefaults extends Hashtable<Object,Object>

View File

@ -173,6 +173,7 @@ import sun.awt.AWTAccessor;
*
* @author Thomas Ball
* @author Hans Muller
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class UIManager implements Serializable

View File

@ -38,6 +38,7 @@ package javax.swing;
* Please see {@link java.beans.XMLEncoder}.
*
* @author unattributed
* @since 1.2
*/
@SuppressWarnings("serial") // Same-version serialization only
public class UnsupportedLookAndFeelException extends Exception

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