NSBrowser will not select row 0
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