new Insets(10, 0, 5, 5),
new Insets(0, 0, 5, 5),
  public void displayAbout() {    ArrayList agentNames =       (ArrayList)getPropertyValue((ConfigurableComponent)node, "AgentNames");    JPanel aboutPanel = new JPanel();    aboutPanel.setLayout(new GridBagLayout());    int x = 0;    int y = 0;    aboutPanel.add(new JLabel("Status:"),                   new GridBagConstraints(x++, y, 1, 1, 0.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.NONE,                                          new Insets(10, 0, 5, 5),                                          0, 0));    String status = "";    // get status from tool tip text; ought to be a better way    String s = statusButton.getToolTipText();    int index = s.lastIndexOf(":");    if (index != -1)      status = s.substring(index+1);    aboutPanel.add(new JLabel(status),                   new GridBagConstraints(x, y++, 1, 1, 1.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.HORIZONTAL,                                          new Insets(10, 0, 5, 0),                                          0, 0));    x = 0;    aboutPanel.add(new JLabel("Log File Name:"),                   new GridBagConstraints(x++, y, 1, 1, 0.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.NONE,                                          new Insets(10, 0, 5, 5),                                          0, 0));    aboutPanel.add(new JLabel(logFileName),                   new GridBagConstraints(x, y++, 1, 1, 1.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.HORIZONTAL,                                          new Insets(10, 0, 5, 0),                                          0, 0));    x = 0;    aboutPanel.add(new JLabel("Host Name:"),                   new GridBagConstraints(x++, y, 1, 1, 0.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.NONE,                                          new Insets(10, 0, 5, 5),                                          0, 0));    aboutPanel.add(new JLabel(hostName),                   new GridBagConstraints(x, y++, 1, 1, 1.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.HORIZONTAL,                                          new Insets(10, 0, 5, 0),                                          0, 0));    x = 0;    aboutPanel.add(new JLabel("Host Address:"),                   new GridBagConstraints(x++, y, 1, 1, 0.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.NONE,                                          new Insets(10, 0, 5, 5),                                          0, 0));    String hostAddress = "";    try {      InetAddress host = InetAddress.getByName(hostName);      hostAddress = host.toString();    } catch (UnknownHostException uhe) {    }    aboutPanel.add(new JLabel(hostAddress),                   new GridBagConstraints(x, y++, 1, 1, 1.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.HORIZONTAL,                                          new Insets(10, 0, 5, 0),                                          0, 0));    x = 0;    aboutPanel.add(new JLabel("Host Description:"),                   new GridBagConstraints(x++, y, 1, 1, 0.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.NONE,                                          new Insets(0, 0, 5, 5),                                          0, 0));    aboutPanel.add(new JLabel((String)getPropertyValue((ConfigurableComponent)host, "Description")),                   new GridBagConstraints(x, y++, 1, 1, 1.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.HORIZONTAL,                                          new Insets(0, 0, 5, 0),                                          0, 0));    x = 0;    aboutPanel.add(new JLabel("Host Type:"),                   new GridBagConstraints(x++, y, 1, 1, 0.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.NONE,                                          new Insets(0, 0, 5, 5),                                          0, 0));    aboutPanel.add(new JLabel((String)getPropertyValue((ConfigurableComponent)host, "MachineType")),                   new GridBagConstraints(x, y++, 1, 1, 1.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.HORIZONTAL,                                          new Insets(0, 0, 5, 0),                                          0, 0));    x = 0;    aboutPanel.add(new JLabel("Host Location:"),                   new GridBagConstraints(x++, y, 1, 1, 0.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.NONE,                                          new Insets(0, 0, 5, 5),                                          0, 0));    aboutPanel.add(new JLabel((String)getPropertyValue((ConfigurableComponent)host, "Location")),                   new GridBagConstraints(x, y++, 1, 1, 1.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.HORIZONTAL,                                          new Insets(0, 0, 5, 0),                                          0, 0));    x = 0;    aboutPanel.add(new JLabel("Node Description: "),                   new GridBagConstraints(x++, y, 1, 1, 0.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.NONE,                                          new Insets(0, 0, 5, 5),                                          0, 0));    aboutPanel.add(new JLabel((String)getPropertyValue((ConfigurableComponent)node, "Description")),                   new GridBagConstraints(x, y++, 1, 1, 1.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.HORIZONTAL,                                          new Insets(0, 0, 5, 0),                                          0, 0));    x = 0;    aboutPanel.add(new JLabel("Command Line Arguments:"),                   new GridBagConstraints(x++, y, 1, 1, 0.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.NONE,                                          new Insets(0, 0, 5, 5),                                          0, 0));    aboutPanel.add(new JLabel((String)getPropertyValue((ConfigurableComponent)node, "CmdLineArgs")),                   new GridBagConstraints(x, y++, 1, 1, 1.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.HORIZONTAL,                                          new Insets(0, 0, 5, 0),                                          0, 0));    x = 0;    aboutPanel.add(new JLabel("Agents:"),                   new GridBagConstraints(x++, y, 1, 1, 0.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.NONE,                                          new Insets(0, 0, 5, 5),                                          0, 0));    JList agentsList = new JList(agentNames.toArray());    agentsList.setBackground(aboutPanel.getBackground());    aboutPanel.add(new JScrollPane(agentsList),                   new GridBagConstraints(x, y++, 1, 1, 1.0, 0.0,                                          GridBagConstraints.WEST,                                          GridBagConstraints.HORIZONTAL,                                          new Insets(0, 0, 5, 0),                                          0, 0));    JOptionPane.showMessageDialog(this, aboutPanel,                                   "About " + node.getShortName(),                                   JOptionPane.PLAIN_MESSAGE);  }