I have implemented a custom Tree Cell Renderer for having checkboxs on each nodes of the Jtree. I also want to put combo box with 5 values in it, from which the user can select one. Please let me know if it is possible. And if yes, how should i go about doing it. Regards Pooja
Hi, Did you mean that you want each node to have a JCheckBox *and* a JComboBox? If so, you can change your editor/renderer to handle JPanels, and then just add both Swing objects to the JPanel in each node. I've done it in past projects.
There's nothing more dangerous than a resourceful idiot. ---Dilbert
and POOF! You're gone! But look, this tiny ad is still here: