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

JTabbedPane.AccessibleJTabbedPane firing PropertyChange event incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.3.1
    • client-libs
    • None
    • beta
    • unknown
    • generic

      When the user selects a tab in a JTabbedPane, the AccessibleState of that tab (specifically the JTabbedPane.Page inner class) will have a new AccessibleState - that of Selected (and the old one will also have a new AccessibleState, this time with Selected no longer a member of it). This should result in the Page inner class object *itself* firing a PropertyChange event of type ACCESSIBLE_STATE_PROPERTY. Instead, incorrectly, the AccessibleJTabbedPane is firing that event.

      This bug causes screen magnification software to not correctly magnify the appropriate region of the screen in response to tab selection, as it is supposed to get the bounding rectangle of the object which fires the PropertyChange event and magnify around that. Since the object firing the event is always the AccessibleJTabbedPane itself (and not the Page), magnification fails to track user tab selection.

            lmonsantsunw Lynn Monsanto (Inactive)
            pkorn Peter Korn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: