Paint « JTree « Java Swing Q&A





1. Can someone tell me if I disected the JTree UIDelegate paint() method right?    coderanch.com

I'm not particularly familiar with the JTree UI delegates, but I have written some UI delegates for other classes. The best way to figure out what to do is look at the source code for them. You have the source code for the entire JDK in a file called src.zip. Look at javax.swing.plaf.TreeUI.java javax.swing.plaf.basic.BasicTreeUI.java javax.swing.plaf.metal.MetalTreeUI.java That will show you exactly how ...

2. JTree paint issue    coderanch.com

HI, I am constructing a tree and trying to drill down to some particular node programatically. I am able to drill down and highlighting the node in the tree but other nodes in the same level are not painted properly. The other nodes are loosing the text. Can somebody give some idea on this problem. Thanks

3. jtree painting treenodes    java-forums.org