File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JTREE Refreshing Problems!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTREE Refreshing Problems!!" Watch "JTREE Refreshing Problems!!" New topic

JTREE Refreshing Problems!!

merwin pinto
Ranch Hand

Joined: Feb 16, 2005
Posts: 39
Hi all,
i have written a code to display a JTree whenever i update the tree or remove a node refreshes .... bu he node name appear truncated
for example ..the nodes are ..

if i delete a node THREE and refresh ..the tree nodes appear as

why does this happen there a solution for this?
thanks for your help,
regards merwin
I agree. Here's the link:
subject: JTREE Refreshing Problems!!