changeset 2:77e2655ac09d

Whitespace clean.
author Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no>
date Wed, 08 Jan 2014 19:01:02 +0100
parents c5bdb7bee4a7
children 061c76d0f567
files ScreenAdjuster.java
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/ScreenAdjuster.java	Wed Jan 08 19:00:08 2014 +0100
+++ b/ScreenAdjuster.java	Wed Jan 08 19:01:02 2014 +0100
@@ -43,7 +43,7 @@
 	      BorderLayout.CENTER);
 	    */
 	    validate();
-	
+
 	    setVisible(true);
 	    GraphicsEnvironment.getLocalGraphicsEnvironment()
 		.getDefaultScreenDevice().setFullScreenWindow(this);
@@ -227,9 +227,9 @@
 	    fullscreen = false;
 	}
 	//fullscreen = false;
- 
+
 	final JFrame fullscreenFrame = new ScreenAdjuster(fullscreen);
-	
+
     }
 
     public static void paintCheckers(Graphics g, Rectangle bounds, int size, int numColors, int mode, boolean alternativeColors)
@@ -239,7 +239,7 @@
 	g.setColor(Color.WHITE);
 	//g.fillRect(cbounds.x, cbounds.y, cbounds.width, cbounds.height);
 	g.fillRect(bounds.x, bounds.y, bounds.width, bounds.height);
-	
+
 	//Offset xmin by 1, if cliparea is on an odd boundary
 	int xmin = bounds.x;
 	int xmax = bounds.x + bounds.width;
@@ -334,7 +334,7 @@
 	    Log.DEFAULT.println("Geometry:"+bounds.x+"x"+bounds.y+":"+bounds.width + "x" + bounds.height);
 	    g.setColor(Color.BLACK);
 	    g.fillOval(x, y, diameter, diameter);
-	    
+
 	    break;
 	}
 	case 8: {
@@ -357,7 +357,7 @@
 	*/
 	if (messageVisible) {
 	    drawMessage(g2);
-	}		
+	}
     }
 
     void drawMessage(Graphics2D g2)
@@ -375,7 +375,7 @@
 	for (int i = 0; i < messageText.size(); ++i) {
 	    String text = messageText.get(i);
 	    if (text.length() > 0 ) {
-		TextLayout tl = 
+		TextLayout tl =
 		    new TextLayout(messageText.get(i),
 				   font, g2.getFontRenderContext());
 		double textWidth = tl.getBounds().getWidth();
@@ -383,7 +383,7 @@
 
 		Shape outline =
 		    tl.getOutline(AffineTransform.getTranslateInstance(x,y));
-		
+
 		Rectangle tBounds = outline.getBounds();
 
 		if (messageBBox) {
@@ -401,5 +401,5 @@
 	}
 
     }
- 
+
 }