In order to embed a C/C++ X11 application into another Java application, is it possible to reparent the X11 top level widget in:
- a JFrame or a JWindow (catching the X11 window ids of their X11 peers using package sun.awt.x11)?
- or a JPanel?
I would prefer reparent with a JPanel but I'm not sure it's possible.
I searched and found:
A recursive function that will search (starting from the root window) for a window with the desired name
You can always open a
java.net.Socketto port 6000 or so and speakX11yourself.code that might help
reference, hope this help
NOTE: package
sun.awt.x11is no more injdk7