if (shortcutKey != 0) { item.setAccelerator(KeyStroke.getKeyStroke(shortcutKey, java.awt.Event.CTRL_MASK)); if (shortcutKey == java.awt.event.KeyEvent.VK_Z) { shortcutKey = 0; } else { shortcutKey++; } }
    SMenuItem createMenuItem(TreeNode node) {        SMenuItem item = new SMenuItem(node.toString());        item.setToolTipText(node.toString());        item.addActionListener(menuItemListener);        return item;    }