113 * automatic thread sharing means that you don't have to
114 * take special steps to avoid spawning
115 * too many threads.
116 * Instead, your timer uses the same thread
117 * used to make cursors blink,
118 * tool tips appear,
119 * and so on.
120 *
121 * <p>
122 * You can find further documentation
123 * and several examples of using timers by visiting
124 * <a href="https://docs.oracle.com/javase/tutorial/uiswing/misc/timer.html"
125 * target = "_top">How to Use Timers</a>,
126 * a section in <em>The Java Tutorial.</em>
127 * <p>
128 * <strong>Warning:</strong>
129 * Serialized objects of this class will not be compatible with
130 * future Swing releases. The current serialization support is
131 * appropriate for short term storage or RMI between applications running
132 * the same version of Swing. As of 1.4, support for long term storage
133 * of all JavaBeans™
134 * has been added to the <code>java.beans</code> package.
135 * Please see {@link java.beans.XMLEncoder}.
136 *
137 * @see java.util.Timer
138 *
139 *
140 * @author Dave Moore
141 * @since 1.2
142 */
143 @SuppressWarnings("serial")
144 public class Timer implements Serializable
145 {
146 /*
147 * NOTE: all fields need to be handled in readResolve
148 */
149
150 /**
151 * The collection of registered listeners
152 */
153 protected EventListenerList listenerList = new EventListenerList();
|
113 * automatic thread sharing means that you don't have to
114 * take special steps to avoid spawning
115 * too many threads.
116 * Instead, your timer uses the same thread
117 * used to make cursors blink,
118 * tool tips appear,
119 * and so on.
120 *
121 * <p>
122 * You can find further documentation
123 * and several examples of using timers by visiting
124 * <a href="https://docs.oracle.com/javase/tutorial/uiswing/misc/timer.html"
125 * target = "_top">How to Use Timers</a>,
126 * a section in <em>The Java Tutorial.</em>
127 * <p>
128 * <strong>Warning:</strong>
129 * Serialized objects of this class will not be compatible with
130 * future Swing releases. The current serialization support is
131 * appropriate for short term storage or RMI between applications running
132 * the same version of Swing. As of 1.4, support for long term storage
133 * of all JavaBeans
134 * has been added to the <code>java.beans</code> package.
135 * Please see {@link java.beans.XMLEncoder}.
136 *
137 * @see java.util.Timer
138 *
139 *
140 * @author Dave Moore
141 * @since 1.2
142 */
143 @SuppressWarnings("serial")
144 public class Timer implements Serializable
145 {
146 /*
147 * NOTE: all fields need to be handled in readResolve
148 */
149
150 /**
151 * The collection of registered listeners
152 */
153 protected EventListenerList listenerList = new EventListenerList();
|