Accessible child = getAccessibleChild(index); if (child != null) { MenuSelectionManager msm = MenuSelectionManager.defaultManager(); MenuElement[] oldSelection = msm.getSelectedPath(); for (int i = 0; i < oldSelection.length; i++) { if (oldSelection[i] == child) {   MenuElement[] newSel = new MenuElement[i - 1]; System.arraycopy(oldSelection, 0, newSel, 0, i - 1); msm.setSelectedPath(newSel); break; } } }
    public void removeAccessibleSelection(int value0)      throws NotImplementedException    {      // TODO: Implement this properly.    }