org/homelinux/largo/utils/ImgComponent.java
changeset 13 f83884cc7d2f
parent 7 93fe1f21e0d8
child 14 f12f77aa13b2
--- a/org/homelinux/largo/utils/ImgComponent.java
+++ b/org/homelinux/largo/utils/ImgComponent.java
@@ -8,24 +8,24 @@
 import javax.swing.ImageIcon;
 
 public class ImgComponent extends Canvas {
-	static final long serialVersionUID = 140208;
-	private Image img;
+    static final long serialVersionUID = 140208;
+    private Image img;
 
-	public ImgComponent (String sFile) {
-		ClassLoader cl = getClass ().getClassLoader ();
-		URL url = cl.getResource (sFile);
-		img = new ImageIcon (url).getImage ();
-	}
+    public ImgComponent(String sFile) {
+        ClassLoader cl = getClass().getClassLoader();
+        URL url = cl.getResource(sFile);
+        img = new ImageIcon(url).getImage();
+    }
 
-	public Image getImage () {
-		return img;
-	}
+    public Image getImage() {
+        return img;
+    }
 
-	public Dimension getPreferredSize () {
-		return new Dimension (img.getWidth (this), img.getHeight (this));
-	}
+    public Dimension getPreferredSize() {
+        return new Dimension(img.getWidth(this), img.getHeight(this));
+    }
 
-	public Dimension getMinimumSize () {
-		return getPreferredSize ();
-	}
+    public Dimension getMinimumSize() {
+        return getPreferredSize();
+    }
 }