I considered that option, but rejected it because I'm afraid you won't
be able to sufficiently synchronize the position of the 2 windows as
to not have a weird lag or glitches when moving the visible Java
window around. But perhaps this option merits prototyping nonetheless.
On May 23, 2008, at 15:22, Uli Kusterer wrote:
Hi,
one option nobody's mentioned so far is that, on the Mac, you can
create transparent windows. So, your Java app could create a
transparent window and show it on top of the other app's window,
making it appear as if they were in the same window.
Not sure how one does that in Java, but at worst I'd guess you could
use JNI calls or so. I'm also not sure how one would take the OpenGL
view and draw it so parts of it are transparent, or whether there's
a way to make windows of two apps move as one together, but at least
it's a direction worth investigating.
Alternately, would it be possible to put all your non-Java code in a
JNI library and have the Java app load and call that? You'd merge
both apps into one, and thus avoid the issue of one not having
access to the other's window.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden