--- 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();
+ }
}