/[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.10.2.6 by gnu_andrew, Tue Aug 2 20:12:37 2005 UTC revision 1.10.2.7 by gnu_andrew, Tue Sep 20 18:46:32 2005 UTC
# Line 72  public class Timer Line 72  public class Timer
72    
73            queueEvent();            queueEvent();
74    
75            while (running)            if (repeats)
76              {              while (running)
77                try                {
78                  {                  try
79                    sleep(delay);                    {
80                  }                      sleep(delay);
81                catch (InterruptedException e)                    }
82                  {                  catch (InterruptedException e)
83                    return;                    {
84                  }                      return;
85                queueEvent();                    }
86                    queueEvent();
87    
88                if (logTimers)                  if (logTimers)
89                  System.out.println("javax.swing.Timer -> clocktick");                    System.out.println("javax.swing.Timer -> clocktick");
90    
91                if ( ! repeats)                  if ( ! repeats)
92                  break;                    break;
93              }                }
94            running = false;            running = false;
95          }          }
96        catch (Exception e)        catch (Exception e)

Legend:
Removed from v.1.10.2.6  
changed lines
  Added in v.1.10.2.7

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