private void viewedSNP(String name) {

        boolean inHistory = false;
        for (Component i : historyMenu.getMenuComponents()) {
            if (i instanceof JMenuItem) {
                if (((JMenuItem) i).getText().equals(name)) {
                    ((JRadioButtonMenuItem) i).setSelected(true);
                    inHistory = true;
                    break;
                }
            }
        }

        if (!inHistory) {
            // new guy
            JRadioButtonMenuItem snpItem = new JRadioButtonMenuItem(name);
            snpItem.setActionCommand("PLOTSNP " + name);
            snpItem.addActionListener(this);
            snpGroup.add(snpItem);
            snpItem.setSelected(true);
            historyMenu.add(snpItem, 2);

            // only track last ten
            if (historyMenu.getMenuComponentCount() > 12) {
                historyMenu.remove(12);
            }
        }
    }