public static void nameComponents(Class<?> clz, Object obj) {
		try {
            Field[] fields = clz.getDeclaredFields();
			for (Field field : fields) {
				if (CommonUI.isNamedComponent(field.getType())) {
					field.setAccessible(true);
					if (field.get(obj) != null) {
						String name = (String) MethodUtils.invokeMethod(field.get(obj), "getName", null);
						if (StringUtils.isEmpty(name)) {
							MethodUtils.invokeMethod(field.get(obj), "setName", field.getName());
						}
					}
				}
			}
		} catch (Exception e) {
			throw new SwingObjectRunException(e, ErrorSeverity.SEVERE, FrameFactory.class);
		}
	}