3 Enabling and Testing Java Access Bridge
By default, Java Access Bridge is not enabled. Enable it either through the command line or the Windows Control Panel. Test it by running a Java application that uses the Accessibility API.
Enabling Java Access Bridge Through the Command Line
Enable Java Access Bridge with the jabswitch
command.
Run the following command (where %JAVA_HOME%
is the directory of
your JDK):
%JAVA_HOME%\bin\jabswitch -enable
Disabling Java Access Bridge
Disable Java Access Bridge with the jabswitch
command.
Run the following command:
%JAVA_HOME%\bin\jabswitch -disable
Note:
You cannot disable Java Access Bridge through the Windows Ease of Access Center.Testing Java Access Bridge
Test Java Access Bridge by first installing a supported assistive technology then running a Java application that uses the Accessibility API.
Java Access Bridge Tools
Use the jaccessinspector
and jaccesswalker
tools, which are part of
the JDK, to test Java Access Bridge.
jaccessinspector
tool uses
the Java Accessibility Utilities API to examine accessible
information about the objects in the Java Virtual Machine. The
jaccesswalker
tool walks
through the component trees in a particular Java Virtual Machine
and presents the accessibility hierarchy in a tree view. Find
these tools in the JDK's bin
directory.