public InvokerAction(String name,String icon,String clickedIcon, Object target, String method){
			putValue(Action.NAME, name);
			if (icon != null){
				putValue(Action.LARGE_ICON_KEY, new ImageIcon(getClass().getResource(icon)));
			}
			if (clickedIcon != null){
				putValue(CLICKED_ICON,new ImageIcon(getClass().getResource(clickedIcon)));
			}
			this.target = target;
			this.method = method;
		}