View Single Post
  #1 (permalink)  
Old 07-26-2007, 03:21 AM
kmarie kmarie is offline
Member
 
Join Date: Jul 2007
Posts: 2
kmarie is on a distinguished road
Jtree - making parts editable
I have a Jtree that models a file system, aka, folders and files on my computer. I want the user to be able to edit (rename) the folders, but make it so the user can not edit (rename) the files.

I understand that you would normally make a Jtree editable by using:

tree.setEditable(true);

However, that makes ALL nodes editable, when I only want certain ones to be editable.

I can't find anything on google, can this be done?
Reply With Quote
Sponsored Links