XToolkit xToolkit = (XToolkit) UnoRuntime.queryInterface(
XToolkit.class, getXMultiServiceFactory()
.createInstance("com.sun.star.awt.Toolkit"));
// initialise le xChildFactory
XSystemChildFactory xChildFactory = (XSystemChildFactory) UnoRuntime
.queryInterface(XSystemChildFactory.class, xToolkit);
Integer handle = nativeView.getHWND();
short systeme = (short) nativeView.getNativeWindowSystemType();
byte[] procID = new byte[0];
XWindowPeer xWindowPeer = xChildFactory.createSystemChild(
(Object) handle, procID, systeme);
XWindow xWindow = (XWindow) UnoRuntime.queryInterface(
XWindow.class, xWindowPeer);