public void actionPerformed(ActionEvent arg0) {
    if (arg0.getSource() == addUrgency) {
      AddUrgency	frame = new AddUrgency(this);
    }
    if (arg0.getSource() == deleteUrgency) {
      if (this.list.getSelectedIndex() != -1)
	this.listObj.remove(this.list.getSelectedIndex());
      this.list.updateUI();
    }
    if (arg0.getSource() == ok) {
      MapPanel.moveNode(this.node, Integer.parseInt(this.jtfX.getText()),
			Integer.parseInt(this.jtfY.getText()));

      MapPanel.clearUrgency(this.node);

      ListModel	model = list.getModel();

      for (int i = 0; i < model.getSize(); i++) {
	String		str = (String)model.getElementAt(i);
	float		trigg = Float.parseFloat(str.substring(str.indexOf(":") + 2,
							       str.indexOf(";") - 1));
	float		treat = Float.parseFloat(str.substring(str.lastIndexOf(":") + 2));
	MapPanel.addUrgencyToNode(this.node, trigg, treat, i);
      }

      if (this.attachPoint.isSelected() == true)
	MapPanel.setAttachPoint(this.node);
      this.dispose();
    }
    if (arg0.getSource() == cancel) {
      this.dispose();
    }
  }