Starting Monkey
If you have completed the actions listed in
Before Using the Examples, Monkey starts automatically any time you
start a Java application.
Using Monkey
In its "File" menu, Monkey provides a "Refresh Trees" item. When you select
this, Monkey will ask the EventQueueMonitor for the current list of top
level windows it has detected in the virtual machine. It will then display
the component hierarchy of the top level windows using two different formats.
On the left side of its window, Monkey will display the "true" component
hierarchy. On the right hand side of its window, Monkey will display the
hierarchy as though the objects are Accessible objects. If you right
click on a node in the right hand side of its window, Monkey will display
a popup menu that provides options for you to get additional accessible
information from the object. The first option will provide you with
information similar to that provided by the Ferret
example. The second option allows you to manipulate the AccessibleActions
of the object, the third option allows you to manipulate the
AccessibleSelections
of the object, and the fourth option allows you to manipulate the
AccessibleHypertext
links of the object. You can bring up an AccessibilityPanel without using
the mouse by first selecting the table cell you are interested in, and
then choosing the AccessibilityPanel from the Panels menu.


Depending upon when it starts, the initial list displayed by Monkey
may not accurately reflect the current state of the Java virtual machine.
To update the display, select the "Refresh Trees" item in Monkey's "File"
menu. At any time, you can press the F1 key and Monkey will automatically
refresh the trees as well.