![]() |
JavaTM Access Bridge
for the Microsoft Windows Operating System Version 1.0.4 Java Monkey Example |
Contents |
cd c:\swing-1.1\examples\Simple
runnit
and in another window
cd c:\AccessBridge-1.0.4
JavaMonkey
You will now have two windows open - the Simple Java application
window, and the JavaMonkey window. There are two main things
you can do with JavaMonkey. You can build a tree view of
the Java applications' GUI hierarchy, and you can query the Accessibility
API information of a particular element in the GUI hierarchy.
Building the GUI Hierarchy
Selecting Refresh Tree from the File menu will cause JavaMonkey to build a list of the top-level windows belonging to Java applications/applets, and then recursively query the elements in those windows, building a tree of all of the GUI components in all of the Java applications/applets in all of the Java VMs running in the system.
Examining a GUI component
Once a GUI tree is built, you can view detailed accessibility information about an individual GUI component by selecting it in the tree, and then selecting Accessibility API Panel from the Panels menu.
Copyright © 2003 Sun Microsystems, Inc. All Rights Reserved. Please send comments to: access@sun.com |
![]() |