private ScmIcon(String name, String propStr) {
		this.name = name;
		ApplicationManager manager = ApplicationManager.manager;
		String[] props = Csv.decode(propStr);

		setX(Integer.parseInt(props[0]));
		setY(Integer.parseInt(props[1]));

		String seek = name + ".";
		for (Enumeration e = manager.properties.keys(); e.hasMoreElements();) {
			String key = (String) e.nextElement();
			if (key.toLowerCase().startsWith(seek)) {
				String value = manager.getProperty(key).trim();
				String state = key.substring(seek.length());
			//	System.out.println("item state '" + state + "' for " + name + " is " + value);

				if (!value.equals("")) {
					java.awt.Image image;
					try {
						image = manager.getImage(ApplicationManager.concatPath(manager.getProperty("skin"), value));
						int w = ApplicationManager.manager.getImageWidth(image, value);
						int h = ApplicationManager.manager.getImageHeight(image, value);
						if(w > getWidth()) setWidth(w);
						if(h > getHeight()) setHeight(h);
						states.put(state, image);
					}
					catch (Exception e1) {
						e1.printStackTrace();
					}

					// adjust size here!!

				}
			}
		}
	//	System.out.println("states: "+states);
		setState(props[2]);
	}