On Wed, Dec 01, 1999 at 07:47:00PM +0000, Ekkehard Kraemer wrote:
> Hi,
>
> is it possible to access X things from native code via JNI? E.g., paint in a X
> window direktly from native code?
Yes, but....
Java doesn't give you any way to discover the X resources used by the
AWT... you can't get the Display pointer or the Window IDs of any of its
windows. About all you can do is open your own connection to the X server
(from the native code) and search the window hierarchy for what appear
to be your application's windows.
Sun has indicated that they plan to fix this someday...
Nathan
>
> MbG, Ekkehard
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]