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

Coalesce focus listeners in SwingSet2 JList demo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • client-libs
    • None
    • beta
    • generic
    • generic

      4669384 introduced a change to SwingSet2 in the JList demo. It added focus listeners to the JCheckBoxes in order to scrollRectToVisible. Each JCheckBox is given its own anonymous focus listener. This is an un-needed overhead. Instead, a single FocusListener should be shared between all JCheckBoxes.

            alexp Alexander Potochkin (Inactive)
            shickeysunw Shannon Hickey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: