Parent Directory | Revision Log | Patch
revision 1.26 by mark, Sat Jul 2 20:32:49 2005 UTC | revision 1.27 by langel, Mon Jul 4 14:41:23 2005 UTC | |
---|---|---|
# | Line 1079 public class JTree | Line 1079 public class JTree |
1079 | ||
1080 | if (path != null) | if (path != null) |
1081 | selectionModel.addSelectionPath(path); | selectionModel.addSelectionPath(path); |
1082 | else | |
1083 | { | |
1084 | selectionModel.clearSelection(); | |
1085 | // need to repaint because cant fire an event with | |
1086 | // null selection. | |
1087 | repaint(); | |
1088 | } | |
1089 | } | } |
1090 | ||
1091 | public void addSelectionRows(int[] rows) | public void addSelectionRows(int[] rows) |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |