Name: rmT116609 Date: 08/01/2001
U:\>java -version
java version "1.3.1-rc2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-rc2-b23)
Java HotSpot(TM) Client VM (build 1.3.1-rc2-b23, mixed mode)
The documentation for the removeSelectionRow is wrong, it reads "path"
when "row" is meant. See the description of the two similar methods below:
http://java.sun.com/j2se/1.3/docs/api/javax/swing/JTree.html#removeSelectionRow(int)
removeSelectionRow
public void removeSelectionRow(int row)
Removes the path at the index row from the current selection.
Parameters:
path - the TreePath identifying the node to remove
--------------------------------------------------------------------------------
http://java.sun.com/j2se/1.3/docs/api/javax/swing/JTree.html#removeSelectionRows(int[])
removeSelectionRows
public void removeSelectionRows(int[] rows)
Removes the paths that are selected at each of the specified rows.
Parameters:
row - an array of ints specifying display rows, where 0 is the first row in the
display
(Review ID: 129201)
======================================================================