RadioButton « JTree « Java Swing Q&A





1. Can I add radiobuttons as leaves in a JTree?    coderanch.com

Hi Matt, It's you again to help me out.Last time also it was because of you that I was able to solve my problem. Alright,here we go....... I know that if we have to put Swing components in place of nodes we can do that by creating and implementing a custom TreeCellEditor and TreeCellRenderer for the JTree.It's easy if we have ...

2. Radiobuttons in JTree    coderanch.com

Thank you, I've already looked for this tutorial and tryed to use my own renderer. I just can't find what functions I should override to be able to put objects next to the text displayed on the node. If I could do that I think it wouldn't be hard to add a mouselistener to be able to change these values... Could ...