Searching thousands of files via a thread and “tree walker”, writing matches to JTable results in unresponsiveness
问题 I have revised my Windows 7 search program to write matched files to a JTable . Prior to this I was writing to a JTextArea . The output was ugly; hence JTable output. But with JTable , the program becomes unresponsive from time to time if searching thousands of files. (Not so with JTextArea . Very smooth.) My question is how to improve responsiveness. I have one Thread that is invoked in main and "walks the file tree" from a given node: public static void main(String args[]) { EventQueue