JTextField in JTree - make it editable
does anybody have a sample code for a tree with check boxes and text fields? Because now I have a code for check box (only) based tree. I tried to implement also text fields in the tree (with Jlabels ). But I get stucked and I am really confused. I can't get any further and I hoped that you can help me. The issue is. I cant modify the text of JTextFields. The modification doesnt get saved. And I do not know how to add a JLabel in the same line of the JTextField Root | |- Node 1 | - [-] Activate simulation | - [100] Iterations |- Node 2 | - [x] Activate simulation | - [2000] Iterations package