hybrid wrote:What kind of native handle does Swing provide? Do you get a Window from X11?
I did not exactly understand your question.
Short description for both OSs:
Windows:
I want to use one maximized window with Irrlicht painting in a panel in the lower right corner. I can not use Swing for this control, because Irrlicht needs a HWND (window handle) so it can be initialized within a native "window" (means "panel" in our case). So I use a AWT panel (AWT is managed by the OS, Swing is managed by Java), from which I get the HWND by a small DLL (C++ code which returns the panel's HWND, can be found in the web).
Once Irrlicht is initialized in this panel, I overwrite the panel's paint()-method and call the Irrlicht drawing functions there.
Linux:
X11 seems to no have simple HWNDs, or they are not useable in Irrlicht at least. So I have no choice but creating a new Irrlicht window. Unfortunately I have no control over the window in Java, that means for example, I can not set it's position or size. But KDE automatically places the window on a acceptable position when it is initialized after the left toolbar window. Then the user has to move the windows by hand so they look lke on the screenshot.
If you have ideas how I could move the Irrlicht window, just tell me
![Smile :)](./images/smilies/icon_smile.gif)