[Xquartz-dev] starting xquartz within a java process
Lorinc Hever
lorinc.hever at gmail.com
Sun Dec 7 17:10:15 PST 2008
Thanks Jeremy for the prompt response!
My goal is to use an X window as a plugin in a java application.
In this case I have a native Aqua window with java and X11 window from
the X based app. Since OS X doesn't allow you control windows from
other processes it opts out the writing a window manager in java
option :(
Could you help me to point out why is it not possible to run XQuartz
within an application on separate threads? Or give some reference
where should I look it up?
Thanks for your help!
Lorinc
On Sun, Dec 7, 2008 at 3:57 PM, Jeremy Huddleston <jeremyhu at apple.com> wrote:
>
> On Dec 7, 2008, at 13:13, Lorinc Hever wrote:
>
>> Hello,
>>
>> I'm working on a feasibility to start xquartz from a java process with
>> JNI. My goal would be to keep the X server in the same process as my
>> java application so this way I can manipulate the X windows itself
>> (mainly reparent, resize and show/hide). To able to do the window
>> manipulation I have to keep X and java in the same process.
>
> That's not really possible... I think what you want to do is write a window
> manager in java (in which case you don't actually need the server to be in
> the same process).
>
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
>
More information about the Xquartz-dev
mailing list