'2', KeyEvent.KEY_LOCATION_UNKNOWN));
assertEquals(new TreePath[] { path2 }, tree.getSelectionPaths());
handler.keyTyped(new KeyEvent(tree, KeyEvent.KEY_TYPED, 0, 0, KeyEvent.VK_UNDEFINED,
'1', KeyEvent.KEY_LOCATION_UNKNOWN));
assertEquals(new TreePath[] { path2 }, tree.getSelectionPaths());
f.dispose();
}
public void testComponentHandler() throws Exception {
JScrollPane pane = new JScrollPane(tree);
assertFalse(hasListener(tree.getComponentListeners(),