org/homelinux/largo/utils/ImgComponent.java
changeset 16 55b0d5006e7b
parent 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 = 1L;
-    private Image img;
+	static final long serialVersionUID = 1L;
+	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();
+	}
 }