Re: Differences between Cocoa and Cocoa-Java Projects/Targets
Re: Differences between Cocoa and Cocoa-Java Projects/Targets
- Subject: Re: Differences between Cocoa and Cocoa-Java Projects/Targets
- From: Dmitry Markman <email@hidden>
- Date: Sat, 19 Feb 2005 20:54:38 -0500
no
but
AFAIK if you want to launch JVM from within your application in order
to call java methods via JNI
and those javamethods will call AWT components it won't work unless you
call JVM in some not trivial
way (look at Apple's example)
if those java methods are methods from java.util, java.lang e.t.c.
then shouldn't be any problem to require JVM via standard JNI methods
it should work out of the box
On Feb 19, 2005, at 7:38 AM, Finlay Dobbie wrote:
On Sat, 19 Feb 2005 00:01:26 -0500, Dmitry Markman <email@hidden>
wrote:
but maybe you have some specific requirement that you have to use Java
from Cocoa
if you need just GUIless classes it shouldn't be any problem working
with JNI
it' just very similar to work with other dylib
You seem to imply that you expect problems mixing Java GUI with Cocoa.
As of 1.4, I think this should "just work" - there are some samples
from DTS showing java panes drawing within Cocoa apps, and Cocoa views
drawing within a Java pane and so on.
-- Finlay
Dmitry Markman
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden