public void actionPerformed(ActionEvent ae) {
						try {
							m_BayesNet.buildClassifier(m_Instances);
							layoutGraph();
							updateStatus();
							m_BayesNet.clearUndoStack();

							dlg.setVisible(false);
						} catch (Exception e) {
							e.printStackTrace();
						}
						dlg.setVisible(false);
					}