diff options
author | Roman Kennke <roman@kennke.org> | 2005-06-20 14:35:52 +0000 |
---|---|---|
committer | Roman Kennke <roman@kennke.org> | 2005-06-20 14:35:52 +0000 |
commit | ef6de9ba20b3a5e49e4805d39311982756fa066f (patch) | |
tree | baa7221f3417ccd0fdf362c2cb39de7f91ca2cea /javax/swing/DebugGraphics.java | |
parent | 45def5a55fd62099875c0ab89f19e8a951dcd1c5 (diff) | |
download | classpath-ef6de9ba20b3a5e49e4805d39311982756fa066f.tar.gz |
Reformatted source files to better match our coding style.
Diffstat (limited to 'javax/swing/DebugGraphics.java')
-rw-r--r-- | javax/swing/DebugGraphics.java | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/javax/swing/DebugGraphics.java b/javax/swing/DebugGraphics.java index 074d45114..b65d38349 100644 --- a/javax/swing/DebugGraphics.java +++ b/javax/swing/DebugGraphics.java @@ -404,11 +404,11 @@ public class DebugGraphics extends Graphics { try { - Thread.sleep(milliseconds); + Thread.sleep(milliseconds); } catch (InterruptedException e) { - // Ignore this. + // Ignore this. } } @@ -424,13 +424,13 @@ public class DebugGraphics extends Graphics { for (int index = 0; index < (debugFlashCount - 1); ++index) { - graphics.setColor(color); - graphics.drawRect(x, y, width, height); - sleep(debugFlashTime); - - graphics.setColor(debugFlashColor); - graphics.drawRect(x, y, width, height); - sleep(debugFlashTime); + graphics.setColor(color); + graphics.drawRect(x, y, width, height); + sleep(debugFlashTime); + + graphics.setColor(debugFlashColor); + graphics.drawRect(x, y, width, height); + sleep(debugFlashTime); } graphics.setColor(color); @@ -449,13 +449,13 @@ public class DebugGraphics extends Graphics { for (int index = 0; index < (debugFlashCount - 1); ++index) { - graphics.setColor(color); - graphics.fillRect(x, y, width, height); - sleep(debugFlashTime); - - graphics.setColor(debugFlashColor); - graphics.fillRect(x, y, width, height); - sleep(debugFlashTime); + graphics.setColor(color); + graphics.fillRect(x, y, width, height); + sleep(debugFlashTime); + + graphics.setColor(debugFlashColor); + graphics.fillRect(x, y, width, height); + sleep(debugFlashTime); } graphics.setColor(color); @@ -696,13 +696,13 @@ public class DebugGraphics extends Graphics { for (int index = 0; index < (debugFlashCount - 1); ++index) { - graphics.setColor(color); - graphics.drawChars(data, offset, length, x, y); - sleep(debugFlashTime); - - graphics.setColor(debugFlashColor); - graphics.drawChars(data, offset, length, x, y); - sleep(debugFlashTime); + graphics.setColor(color); + graphics.drawChars(data, offset, length, x, y); + sleep(debugFlashTime); + + graphics.setColor(debugFlashColor); + graphics.drawChars(data, offset, length, x, y); + sleep(debugFlashTime); } graphics.setColor(color); |