next up previous contents
Next: Commands Up: The GUIAdmin Previous: The GUIAdmin   Contents

The main Window

The main window (see Figure [*]) 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.


next up previous contents
Next: Commands Up: The GUIAdmin Previous: The GUIAdmin   Contents
Thomas Letsch 2001-02-21