using jawt jni library in the jdk, I can draw from C on an AWT canvas…
however what I need is an Xlib Window handle
the jawt_X11DrawingSurfaceInfo struct
provides an xlib VisualID handle, can this be turned into a Window handle?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Looking at JNA library source, they’re using
drawablefield inJAWT_X11DrawingSurfaceInfoto return window handle for xlib.