• 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: Java Bridge problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Java Bridge problem (From: email@hidden)

  • Prev by Date: Re: Best way to save this doc?
  • Next by Date: Re: Java Bridge problem
  • Previous by thread: Re: Java Bridge problem
  • Next by thread: Using different pictures in an NSRunAlertPanel
  • Index(es):
    • Date
    • Thread