private void setEnabled(Container cont, boolean enabled, Component[] notEdit) {
		List<Component> notEditList = null;
		if (notEdit != null && notEdit.length > 0) {
			notEditList = Arrays.<Component> asList(notEdit);
		} else {
			notEditList = new ArrayList<Component>();
		}

		Component[] comps = cont.getComponents();
		for (Component comp : comps) {
			if (!notEditList.contains(comp))
				comp.setEnabled(enabled);
		}
	}