🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11571

JTree node editing: width is not reset???!!!!

#11571
From: Sjaak Wolfert
Date: Fri, 07 May 1999 00:00
15 lines
956 bytes
Hi,

I have a problem using and displaying nodes using JTree.
By double-clicking I allow to edit the text of the node.
If after editing this text is longer than before , the node is not displayed
in the tree at the right width. Actually, it is displayed with the old width
(and three dots)

Can anybody tell me which function is to be called after editing to
redisplay the node correctly in the tree?

Thanks,

Sjaak Wolfert
sjaak.wolfert@users.info.wau.nl
Technical Details
Message-ID: <7gu511$eap1@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,ca1ad3d880b4d0cc,start
X-Google-Attributes: gid111d45,public
From: "Sjaak Wolfert" <sjaak.wolfert@users.info.wau.nl>
Subject: JTree node editing: width is not reset???!!!!
Date: 1999/05/07
Message-ID: <7gu511$eap1@forums.borland.com>
X-Deja-AN: 475068790
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0