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

Unable to click JCheckBox in JTable through Java Access Bridge

    XMLWordPrintable

    Details

      Backports

        Description

        ADDITIONAL OS VERSION INFORMATION:
        MS Windows 10 OS

        A DESCRIPTION OF THE PROBLEM:
        When an assistive technology software by means of Java Access Bridge API executes "AccessibleAction" "click" on "AccessibleContext" which corresponds to "javax.swing.JTable" cell containing "javax.swing.JCheckBox", then the cell's value and cell's view represented by "JCheckBox" stay unchanged.

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM:

        PLEASE NOTE: The proper way of verifying the created and integrated to the repository fix for this bug is to use THE AUTOMATIC REGRESSION TEST "BooleanRendererHasAccessibleActionTest.java", which is part of the fix.

        1. Install 64-bit JDK.
        2. In the OS enable Java Access Bridge from the installed in step #1 JDK.
        3. Compile and run "JCheckBoxAndJABTest.java" test case application from the attached archive "JCheckBoxAndJABTest.zip" by the installed in step #1 JDK.
        4. Run "JABAssistiveApp.exe" test case application from the attached archive "JCheckBoxAndJABTest.zip".
        5. In the window of "JABAssistiveApp.exe" application move a mouse cursor over the button "Select Accessible Java Component", press Left Mouse Button and move the cursor to the window of "JCheckBoxAndJABTest.java" test case application and release Left Mouse Button, when the mouse cursor is over any check box component, then click "Do AccessibleAction 'click' on Accessible Java Component" button in the window of "JABAssistiveApp.exe" application.

        DEFINITION OF THE BUG (ORIGINAL, IS OUTDATED, SHOULD BE IGNORED):
        The issue is reproduced, if the state of the required check box in "JCheckBoxAndJABTest.java" application was not changed.

        DEFINITION OF THE BUG (AMENDED AFTER THE FIX, SHOULD BE TAKEN INTO ACCOUNT):
        The issue is reproduced, if the state of the required check box in "JCheckBoxAndJABTest.java" application was not changed and the next message is not displayed in a status text area located in the bottom right corner of the window of "JABAssistiveApp.exe" application. The expected message indicating that THE BUG IS FIXED is "AccessibleAction 'click' cannot be done, Accessible Java Component does not support 'click' action.".

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                alitvinov Anton Litvinov
                Reporter:
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: