if (value0 != null) { int index = -1; TreePath v0 = null; for (int i = 0; i < value0.length; i++) { v0 = value0[i]; if (isPathSelected(v0)) { for (int x = 0; x < selection.length; x++) { if (selection[i].equals(v0)) { index = x; break; } } TreePath[] temp = new TreePath[selection.length - 1]; System.arraycopy(selection, 0, temp, 0, index); System.arraycopy(selection, index + 1, temp, index, selection.length - index - 1); selection = new TreePath[temp.length]; System.arraycopy(temp, 0, selection, 0, temp.length);  fireValueChanged(new TreeSelectionEvent(this, v0, false, leadPath, value0[0])); } } }
  public void removeSelectionPaths(TreePath[] value0)  {		// TODO  }