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

Vetoing a focus shift results in infinite cycle

XMLWordPrintable

    • b08
    • generic
    • generic
    • Verified

      There are two buttons b1 and b2 in a Frame. VetoableChangeListener added to the KeyboardFocusManager vetoes the focus shift to b1. Focus is shifted to b2 and the button is made invisible when it has focus. Now the focus manager tries to shift the focus to b1 and since the focus change is vetoed, goes in an infinite loop doing it.

      Reproducible in tiger

      Steps to reproduce:

      Run the automated testcase attached.

            ant Anton Tarasov (Inactive)
            gramachasunw Girish Ramachandran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: