The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

"..." when I change text in the label of a node in JTree

Posted by Maxime on July 03, 2000 at 5:15 AM

The nodes of my JTree are rendered with the JLabel (default
implementation). I draw the tree a first time and the display
is OK (label are fully displayed).
If I change the label of a node, the displayed text is
not correct anymore. I get something like "no..." instead of
"node". The text is not fully displayed.
Does anybody know how to force a correct display?
I've tried repaint, invalidate, validate without success.
Thanks.




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us