void addValue() {
		//GraphNode n = (GraphNode) m_nodes.elementAt(m_nCurrentNode);
		String sValue = "Value" + (m_BayesNet.getCardinality(m_nCurrentNode) + 1);
		String sNewValue = (String) JOptionPane.showInputDialog(null, "New value " + sValue, "Node " + m_BayesNet.getNodeName(m_nCurrentNode),
				JOptionPane.OK_CANCEL_OPTION);
		if (sNewValue == null || sNewValue.equals("")) {
			return;
		}
		try {
			m_BayesNet.addNodeValue(m_nCurrentNode, sNewValue);
		    m_jStatusBar.setText(m_BayesNet.lastActionMsg());
			//n.outcomes = m_BayesNet.getValues(m_nCurrentNode);
			//for (int iNode = 0; iNode < m_BayesNet.getNrOfNodes(); iNode++) {
			//	n = (GraphNode) m_nodes.elementAt(iNode);
			//	n.probs = m_BayesNet.getDistribution(iNode);
			//}
		} catch (Exception e) {
			e.printStackTrace();
		}
		updateStatus();
	}