factory = new MarshalledObject<UIComponentFactory>(new UIComponentFactory(urls, className));
desc.toolkit = JComponentFactory.TOOLKIT;
} else if(typeName.equals(JDialogFactory.TYPE_NAME)) {
types = new UIFactoryTypes(
Collections.singleton(JDialogFactory.TYPE_NAME));
factory = new MarshalledObject<UIDialogFactory>(new UIDialogFactory(urls, className));
desc.toolkit = JDialogFactory.TOOLKIT;
} else if(typeName.equals(JFrameFactory.TYPE_NAME)) {
types = new UIFactoryTypes(
Collections.singleton(JFrameFactory.TYPE_NAME));
factory = new MarshalledObject<UIFrameFactory>(new UIFrameFactory(urls, className));