dcsimg
Dots (.....) are dispalyed between the name of the node & root handle of JTree. How to remove these dots(.....)??????
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Patil_Abhijit
Posted On:   Tuesday, March 27, 2001 01:46 PM

Dots (.....) are dispalyed between the name of the node & root handle of JTree. How to remove these dots(.....)??????

Re: Dots (.....) are dispalyed between the name of the node & root handle of JTree. How to remove these dots(.....)??????

Posted By:   Damien_Joldersma  
Posted On:   Monday, April 30, 2001 04:25 PM

If you modify your tree model data, you need to call treeModel.reload(). This will redraw the tree, doing this will redraw the labels to the right size. If you dont' want to redraw the entire tree (all your expanded paths will collapse) then you can use treeModel.reload( node ).

Re: Dots (.....) are dispalyed between the name of the node & root handle of JTree. How to remove these dots(.....)??????

Posted By:   Christian_Beer  
Posted On:   Thursday, March 29, 2001 03:35 AM

Hi Patil!

You can have a look in the Java Tutorial.

Here is the URL: http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html#display

Christian
About | Sitemap | Contact