Can anyone help me in creating an X11 window in java swing using eclipse?And also the function to get the x11 id also.What are the basic requirement for creating an X11 wind
For those out there still looking for this:
You need to find the most toplevel component of your program and get the component's 'componentpeer'. Under linux this will be of type XComponent peer which extends XWindow which extends XBaseWindow. XBaseWindow has an attribute window of type long. That's what you're looking for. You probably need to use reflection to get to it.
hf