factory = new MarshalledObject<UIFrameFactory>(new UIFrameFactory(urls, className));
desc.toolkit = JFrameFactory.TOOLKIT;
} else if(typeName.equals(JWindowFactory.TYPE_NAME)) {
types = new UIFactoryTypes(
Collections.singleton(JWindowFactory.TYPE_NAME));
factory = new MarshalledObject<UIWindowFactory>(new UIWindowFactory(urls, className));
desc.toolkit = JWindowFactory.TOOLKIT;
} else {
throw new IllegalArgumentException("unknown typeName "+typeName);
}
desc.attributes = Collections.singleton(types);