|Java TM Access Bridge
for the Microsoft Windows Operating System
Java Monkey Example
Go to C:\Program Files\Java\jdk1.5.0_02\demo\jfc\SwingSet2
Double click on the file SwingSet2.jar
In Windows Explorer:Go to C:\Program Files\Java Access Bridge
You will now have two windows open - the SwingSet2 Demo 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 HierarchyFrom the File menu select Refresh Tree menu. This causes 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 componentOnce 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 Panels then Display Accessibility Information.