The main window (see Figure
![[*]](/usr/share/latex2html/icons/crossref.png)
) contains two parts, the
tree of all Agents and System Agent and the information of the selected entry.
For the portrayal of the parts of the System, it uses a
JTree.
The
JTree draws a tree on the screen and holds its information
in a list of nodes and leaves. The root node is the Agent System and the next
two nodes are the Agents and the System Agents. The leaves of the
JTree
contain a general object which represents the content of the leave. In this
version an
AgentID is used as this content object. The string
appearing on the screen for every leave is the result of the
AgentID.toString()
method. It gives all information to identify the Agent represented by the leave.
The right side of the window should give information about the Agent as the
ID, authority, class name and status. The ID, authority and class name are extracted
of the AgentID. For getting the status the platform is queried
when creating an Agent and when getting a call to agentStatusChanged
by the System. The GUIAdmin uses the SystemAdminIFace
/ -Proxy for being informed when an Agent is created, terminated
or its status has changed. When the status of an Agent has changed queries the
GUIAdmin the platform for the new status.