Image grayImage = GrayFilter.createDisabledImage(((ImageIcon) mainIcon).getImage()); return new ImageIcon(grayImage);
if (!disabledIcons.containsKey(mainIcon)) { Image grayImage = GrayFilter.createDisabledImage(((ImageIcon) mainIcon).getImage()); disabledIcons.put(mainIcon, grayImage); } return new ImageIcon((Image)disabledIcons.get(mainIcon));
	public Icon getDisabledIcon() {		Image grayImage = GrayFilter.createDisabledImage(((ImageIcon) mainIcon).getImage());		return new ImageIcon(grayImage);	}