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

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

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

revision 1.4 by mkoch, Fri Jan 21 11:43:57 2005 UTC revision 1.5 by rabbit78, Mon Jun 20 14:35:53 2005 UTC
# Line 404  public class DebugGraphics extends Graph Line 404  public class DebugGraphics extends Graph
404    {    {
405      try      try
406        {        {
407          Thread.sleep(milliseconds);          Thread.sleep(milliseconds);
408        }        }
409      catch (InterruptedException e)      catch (InterruptedException e)
410        {        {
411          // Ignore this.          // Ignore this.
412        }        }
413    }    }
414        
# Line 424  public class DebugGraphics extends Graph Line 424  public class DebugGraphics extends Graph
424    {    {
425      for (int index = 0; index < (debugFlashCount - 1); ++index)      for (int index = 0; index < (debugFlashCount - 1); ++index)
426        {        {
427          graphics.setColor(color);          graphics.setColor(color);
428          graphics.drawRect(x, y, width, height);          graphics.drawRect(x, y, width, height);
429          sleep(debugFlashTime);          sleep(debugFlashTime);
430            
431          graphics.setColor(debugFlashColor);          graphics.setColor(debugFlashColor);
432          graphics.drawRect(x, y, width, height);          graphics.drawRect(x, y, width, height);
433          sleep(debugFlashTime);          sleep(debugFlashTime);
434        }        }
435    
436      graphics.setColor(color);      graphics.setColor(color);
# Line 449  public class DebugGraphics extends Graph Line 449  public class DebugGraphics extends Graph
449    {    {
450      for (int index = 0; index < (debugFlashCount - 1); ++index)      for (int index = 0; index < (debugFlashCount - 1); ++index)
451        {        {
452          graphics.setColor(color);          graphics.setColor(color);
453          graphics.fillRect(x, y, width, height);          graphics.fillRect(x, y, width, height);
454          sleep(debugFlashTime);          sleep(debugFlashTime);
455            
456          graphics.setColor(debugFlashColor);          graphics.setColor(debugFlashColor);
457          graphics.fillRect(x, y, width, height);          graphics.fillRect(x, y, width, height);
458          sleep(debugFlashTime);          sleep(debugFlashTime);
459        }        }
460    
461      graphics.setColor(color);      graphics.setColor(color);
# Line 696  public class DebugGraphics extends Graph Line 696  public class DebugGraphics extends Graph
696    {    {
697      for (int index = 0; index < (debugFlashCount - 1); ++index)      for (int index = 0; index < (debugFlashCount - 1); ++index)
698        {        {
699          graphics.setColor(color);          graphics.setColor(color);
700          graphics.drawChars(data, offset, length, x, y);          graphics.drawChars(data, offset, length, x, y);
701          sleep(debugFlashTime);          sleep(debugFlashTime);
702            
703          graphics.setColor(debugFlashColor);          graphics.setColor(debugFlashColor);
704          graphics.drawChars(data, offset, length, x, y);          graphics.drawChars(data, offset, length, x, y);
705          sleep(debugFlashTime);          sleep(debugFlashTime);
706        }        }
707    
708      graphics.setColor(color);      graphics.setColor(color);

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

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