/[classpath]/classpath/javax/swing/Timer.java
ViewVC logotype

Diff of /classpath/javax/swing/Timer.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by audriusa, Thu Feb 24 11:01:38 2005 UTC revision 1.17 by audriusa, Thu Feb 24 12:52:57 2005 UTC
# Line 184  public class Timer implements Serializab Line 184  public class Timer implements Serializab
184    /**    /**
185     * Creates a new Timer object.     * Creates a new Timer object.
186     *     *
187     * @param d DOCUMENT ME!     * @param d the default value for both initial and between event delay, in
188     * @param listener DOCUMENT ME!     * milliseconds.
189       * @param listener the first action listener, can be <code>null</code>.
190     */     */
191    public Timer(int d, ActionListener listener)    public Timer(int d, ActionListener listener)
192    {    {
193      delay = d;      delay = d;
194            initialDelay = d;
195    
196      if (listener != null)      if (listener != null)
197        addActionListener(listener);        addActionListener(listener);

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26