/[classpath]/classpath/java/awt/EventDispatchThread.java
ViewVC logotype

Diff of /classpath/java/awt/EventDispatchThread.java

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

revision 1.7 by jfrijters, Thu Dec 2 13:17:21 2004 UTC revision 1.8 by mkoch, Tue Jan 11 15:06:04 2005 UTC
# Line 53  class EventDispatchThread extends Thread Line 53  class EventDispatchThread extends Thread
53      setName("AWT-EventQueue-" + ++dispatchThreadNum);      setName("AWT-EventQueue-" + ++dispatchThreadNum);
54      this.queue = queue;      this.queue = queue;
55      setPriority(NORM_PRIORITY + 1);      setPriority(NORM_PRIORITY + 1);
     start();  
56    }    }
57    
58    public void run()    public void run()
# Line 63  class EventDispatchThread extends Thread Line 62  class EventDispatchThread extends Thread
62          try          try
63          {          {
64            AWTEvent evt = queue.getNextEvent();            AWTEvent evt = queue.getNextEvent();
           if (isInterrupted ())  
             {  
               // We are interrupted when we should finish executing  
               return;  
             }  
65    
66            KeyboardFocusManager manager;            KeyboardFocusManager manager;
67            manager = KeyboardFocusManager.getCurrentKeyboardFocusManager ();            manager = KeyboardFocusManager.getCurrentKeyboardFocusManager ();

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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