[macosx] Programmatically selecting List item triggers an ItemEvent

XMLWordPrintable

    • b11
    • x86
    • os_x
    • Verified

      Run the attached small example. It creates a java.awt.List and selects an item (two items, in fact, but it doesn't matter) programmatically via list.select(index).
      You will see in the log an ItemEvent with ITEM_STATE_CHANGED type. Well, 2 events but it doesn't matter either.

      Spec says: Programmatically calling this method will _not_ trigger an ItemEvent.

            Assignee:
            Alexander Potochkin (Inactive)
            Reporter:
            Yuri Nesterenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: