/[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.5 by mkoch, Mon Sep 27 15:11:46 2004 UTC revision 1.6 by jfrijters, Mon Oct 11 13:11:56 2004 UTC
# Line 43  package java.awt; Line 43  package java.awt;
43   */   */
44  class EventDispatchThread extends Thread  class EventDispatchThread extends Thread
45  {  {
46    private static int dispatchThreadNum = 1;    private static int dispatchThreadNum;
47    
48    private EventQueue queue;    private EventQueue queue;
49    
50    EventDispatchThread(EventQueue queue)    EventDispatchThread(EventQueue queue)
51    {    {
52      super();      super();
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);
56      start();      start();

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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