public void modifyAgentNode(String containerName, String agentName, String address, String state, String ownership) {
AgentTreeModel model = getModel();
MutableTreeNode root = (MutableTreeNode) model.getRoot();
//search for the folder of the local Platform
Enumeration folders = root.children();
while (folders.hasMoreElements()) {
AgentTree.Node folderNode = (AgentTree.Node) folders.nextElement();
String folderName = folderNode.getName();
if (folderName.equalsIgnoreCase(localPlatformName)) {
// Search for the agent container 'containerName'