• 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: how to use Cocoa Java from Cocoa Obj-C code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to use Cocoa Java from Cocoa Obj-C code?


  • Subject: Re: how to use Cocoa Java from Cocoa Obj-C code?
  • From: email@hidden
  • Date: Tue, 12 Feb 2002 19:48:05 +0800

)s,P4A$G, 2 12, 2002, 06:52 PM, Cyril Godefroy <g!G

> I have a working software which uses java cocoa (quicktime java
> specifically). There's also an article about Java on
> cocoadevcentral.com. You should read both.
>
> Hope it'll help you.
>
> On mardi, fivrier 12, 2002, at 10:10 , email@hidden wrote:
>
>> Hi folks,
>>
>> Suppose I have some Java classes already developed. In a new project
>> which is using Cocoa Obj-C, how can I reuse the Cocoa Java classes?
>>
>> Actually, what I want to do is to add database connectivity to the
>> Obj-C
>> Cocoa application. I want to wrap all database stuff into some Java
>> classes and let the rest of the application use them.
>>
>> The "Legacy Java Bridge" section of the Cocoa documentation told me to
>> use NSClassFromString(@"JavaClassName") but it doesn't work.
>>

Thanks Cyril! I'd read cocoadevcentral articles. The Apple documentation
is basically correct. My case is that my trial java class has init()
method which confused the java bridge. As long as I removed the init()
method, it works fine.

Regards,

Victor Tsang
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: how to use Cocoa Java from Cocoa Obj-C code? (From: Cyril Godefroy <email@hidden>)

  • Prev by Date: Re: Drag n Drop on a NSControl : NSTextField?
  • Next by Date: NSMatrix with drag & drop
  • Previous by thread: Re: how to use Cocoa Java from Cocoa Obj-C code?
  • Next by thread: Re: how to use Cocoa Java from Cocoa Obj-C code?
  • Index(es):
    • Date
    • Thread