if (parent.isIndexSelected(index))
if (parent.isIndexSelected(indexInParent))
      public AccessibleStateSet getAccessibleStateSet()      {        AccessibleStateSet states = super.getAccessibleStateSet();        if (parent.isIndexSelected(index))          states.add(AccessibleState.SELECTED);        return states;      }