• 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 delegate for NSBrowser?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java delegate for NSBrowser?


  • Subject: Re: Java delegate for NSBrowser?
  • From: "Chris Backas" <email@hidden>
  • Date: Thu, 27 Sep 2001 20:41:19 -0400 (EDT)
  • Priority: Normal

>*** Illegal NSBrowser delegate
>(SRImageOpManager$SRImageOpBrowserDelegate@7dc96c). Must implement
>browser:willDisplayCell:atRow:column: and either
>browser:numberOfRowsInColumn: or browser:createRowsForColumn:inMatrix:
>
>
>Is there a problem using a Java class as a delegate, or have I made some
>much simpler (read: stupid) mistake.

The error is telling you all you need to know. There are several method that the delegate *can* implement, but in this case there are also some that the delegate *must* implement. I haven't specifically done this
with an NSBrowser, but NSOutlineView and NSListView work the same way. I know that in those cases the relevant information can be found in both the online documentation and the JavaBrowser.

Good luck!
Chris Backas


  • Follow-Ups:
    • Re: Java delegate for NSBrowser?
      • From: Barry Wark <email@hidden>
References: 
 >Java delegate for NSBrowser? (From: email@hidden)

  • Prev by Date: NSTextViews and initial first responders
  • Next by Date: Re: Alpha info from NSBitmapImageRep?
  • Previous by thread: Java delegate for NSBrowser?
  • Next by thread: Re: Java delegate for NSBrowser?
  • Index(es):
    • Date
    • Thread