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));
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));