Editor « JTree « Java Swing Q&A





1. JTree - Editor - painting issue    coderanch.com

2. Customising the editor in JTree    coderanch.com

Hi, I want to modify the JTree cell editor so that it will strip off trailing characters from the cell label when a user edits the cell. Any idea how i can trap the event to do this ? I though I should create my own TreeCellEditor using a customised JTextField but still I don't quite get how to grab the ...