setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N, KeyEvent.CTRL_MASK));
jMenuItemBayesNet.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
if (m_BayesNetGUIFrame == null) {
jMenuItemBayesNet.setEnabled(false);
final GUI bayesNetGUI = new GUI();
JMenuBar bayesBar = bayesNetGUI.getMenuBar();
m_BayesNetGUIFrame = new JFrame(Messages.getInstance().getString("GUIChooser_BayesNetworkEditor_JFrame_Text"));
m_BayesNetGUIFrame.setIconImage(m_Icon);
m_BayesNetGUIFrame.setJMenuBar(bayesBar);
m_BayesNetGUIFrame.getContentPane().add(bayesNetGUI, BorderLayout.CENTER);
m_BayesNetGUIFrame.addWindowListener(new WindowAdapter() {