Performance « JTree « Java Swing Q&A





1. Improving performance of JTree ?    coderanch.com

Hello all, I have written a TreeNode which holds all local & removable discs, and creates an entire tree of the directories (not the files!) underneath it (working on windows xp). I get the desired results (eg. the right directories etc), but performance really seems to be an issue. It's not that it won't work well, but I do believe it ...

2. JTree repaint performance    forums.oracle.com

Hello, Good thing to provide an SSCCE. I sort of reproduced that on my laptop (Windows L&F, I assume), and I see at least 2 logs per row (maybe 3 sometimes, but not 4). But not all renderer calls end involve actual painting: the first call is used to determine the row's dimensions, and only the second row results in actual ...