You need to do a fireTreeNodesChanged of the TreeModel so that the UI is notified of the change.
Paul Franz ----- Original Message ----- From: "Steven Yong" <[EMAIL PROTECTED]> To: "jdjlist" <[EMAIL PROTECTED]> Sent: Sunday, September 07, 2003 9:32 PM Subject: [jdjlist] JTree question > Hi all, > > First, I created a DefaultMutableNode with "test" (4 characters). After I > modified this node to "testing" (7 characters) during run-time. Only the > first 4 characters are visible. > Any idea to solve this problem? Do I need to use CellRenderer which I do not > intended to? > > > Thanks All. > > > > Steven Yong > > > > --- > You are currently subscribed to jdjlist as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > http://www.sys-con.com/fusetalk --- You are currently subscribed to jdjlist as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] http://www.sys-con.com/fusetalk
