Answer» refer to this code for testing: http://www.java2s.com/Code/Java/Swing-JFC/TreeeditLeafSample.htm
IM not ABLE to edit the value in the jtree even it said its editable is true....
i have looked on the net...every sample of script is the same...im not able to figure out how can i make it work...
i guess its something to do with repainting the panel or the tree...STILL havent got anything...
THANKS beforehand for any helpanyway...i resolve it with....
tree.setInvokesStopCellEditing(true);
|