Thread: JTree trouble
View Single Post
  #3 (permalink)  
Old 07-31-2007, 11:08 PM
Alantie Vala Alantie Vala is offline
Member
 
Join Date: Jul 2007
Posts: 2
Alantie Vala is on a distinguished road
Unfortunally this line made error for me.

Looks like i cannot cast tree.getModel() to DefaultTreeModel.

or this might be some bug for me? cause i seen this way in some other applications - anyway pls try this code and tell me if it works for u/
Reply With Quote