• 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
NSBrowser will not select row 0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBrowser will not select row 0


  • Subject: NSBrowser will not select row 0
  • From: Frank Cobia <email@hidden>
  • Date: Sat, 30 Jun 2001 09:50:51 -0400

I am using a NSBrowser to display a list of options in a Java Cocoa application. I have buttons to add to and delete from the list. My problem is when deleting values from the list. It works fine until I try to delete the next to last item in the list. When I delete the next to last item I tell the browser to select the item at row 0 by sending "browser.selectRowInColumn(0, 0)". However, even though the code "broser.selectedRowInColumn(0)" returns "0", the first row is not highlighted on the screen. Is this a bug or am I doing something wrong.

Thanks,
Frank


  • Prev by Date: Problems with Java and Cocoa
  • Next by Date: Re: Problems with Java and Cocoa
  • Previous by thread: Re: Problems with Java and Cocoa
  • Next by thread: Java Cocoa and 3rd Party JARs
  • Index(es):
    • Date
    • Thread