XSingleServiceFactory xFac = (XSingleServiceFactory) UnoRuntime.queryInterface(XSingleServiceFactory.class,xMSF.createInstance("com.sun.star.frame.TaskCreator"));
Object[] args = new Object[2];
args[0] = Properties.createProperty("ParentFrame",parentFrame);
args[1] = Properties.createProperty("TopWindow",Boolean.TRUE);
XComponentLoader xLoader = (XComponentLoader) UnoRuntime.queryInterface(XComponentLoader.class,xFac.createInstanceWithArguments(args));
ret[0] = xLoader.loadComponentFromURL(surl, "_self", 0, _rArgs);
if ( ret[0] != null)
ret[0] = (XComponent)UnoRuntime.queryInterface(XComponent.class,xLoader);
}
catch (Exception exception)