I am developing a File Explorer. I am displaying the contents of a directory in a JTable (all files and sub directories). The first column contains the icon of the file type (file or directory) , second column filename, third file size and fourth creation date. When I click on any file (row) and press an alphabetical key i should be able to select the file (row) with filename starting with that key pressed. i.e if I press 't' , i should be able to select a file say "test.doc". How do I do this ? any help greatly appreciated.