Re: Java Bridge problem
Re: Java Bridge problem
- Subject: Re: Java Bridge problem
- From: Andreas Monitzer <email@hidden>
- Date: Sat, 13 Apr 2002 20:20:56 +0200
On Saturday, April 13, 2002, at 08:10 , email@hidden wrote:
How would I use java.lang.reflect.Array to access the return value of
[gResult getResultElements]? Sorry, my knowledge of the Java Bridge is
not very extensive.
id myarray=[gResult getResultElements];
int size=[NSClassFromString(@"java.lang.reflect.Array")
getLength:myarray];
// 0 <= index < size
id obj=[NSClassFromString(@"java.lang.reflect.Array") get:myarray
:index];
andy
--
DigiTunnel Public Beta released, offering full PPTP-support for Mac OS X!
http://www.gracion.com/vpn/
_______________________________________________
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.