• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Differences between Cocoa and Cocoa-Java Projects/Targets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • debugging C++ in Cocoa objective-C++ project
      • From: Keith Ray <email@hidden>
References: 
 >Re: Differences between Cocoa and Cocoa-Java Projects/Targets (From: Phil <email@hidden>)
 >Re: Differences between Cocoa and Cocoa-Java Projects/Targets (From: Dmitry Markman <email@hidden>)
 >Re: Differences between Cocoa and Cocoa-Java Projects/Targets (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Re: Xcode's STL problem, works fine in MW
  • Next by Date: debugging C++ in Cocoa objective-C++ project
  • Previous by thread: Re: Differences between Cocoa and Cocoa-Java Projects/Targets
  • Next by thread: debugging C++ in Cocoa objective-C++ project
  • Index(es):
    • Date
    • Thread