Java bindiings for XLib

0 votes
asked Mar 31, 2010 by aaron

I'm looking for Java bindings for XLib.

Specially, I need to be able to reparent an X windows application from within Java.

Ideally I would like to do this by making the X windows calls directly from java.

2 Answers

0 votes
answered Mar 31, 2010 by yaneeve

I don't know anything about XLib... but recently I ran across JNA and it seems that it can talk with system APIs so give it a look if you wish:

Good Luck!

0 votes
answered Mar 29, 2012 by zubzub

I've created xcb (successor of xlib) bindings for Java through SWiG. You can find the code here:

It's a rather large but straightforward implementation and should work once you have all the required xcb module headers installed.

Welcome to Q&A, where you can ask questions and receive answers from other members of the community.
Website Online Counter