Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7124338

[macosx] Selection lost if a selected item removed from a java.awt.List

XMLWordPrintable

    • b115
    • generic
    • os_x
    • Verified

        http://java.net/jira/browse/MACOSX_PORT-534 submitted 2011/10/11 by Yuri Nesterenko
        Run the attached small automatic test.
        It first tries to select an item in the List, successfully. Note however that initially, even if focus is on the List, no item is selected (which is apparently wrong).
        After a half-second, code calls list.remove(0). Now, print the List or otherwise query about a selected item: it is null.

              kshefov Konstantin Shefov
              vasya Vassili Igouchkine (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: