Article View: borland.public.jbuilder.java.swing
Article #799Re: JTree node update problem
From: Paul Nichols (TeamB)
Date: Wed, 30 Jun 2004 13:18
Date: Wed, 30 Jun 2004 13:18
16 lines
1370 bytes
1370 bytes
George wrote: > I am having trouble understanding how to update the display of JTree > nodes. > > > > My tree displays the file system hierarchy of directories. The user > object > of each node is a File object representing the directory. I would like > the > user to be able to rename a selected directory. I have a context menu on > the tree with a Rename action whose actionPerformed method has a > renameFile() method as below: > Have you tried updating the UI at the parent level?
Technical Details
Message-ID:
<40e2bd82@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mailReferences:
<40dc5656$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,236ae22817be31e1 X-Google-Attributes: gid111d45,public X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <40e2bd82@newsgroups.borland.com> From: "Paul Nichols (TeamB)" <paul@comp.net> Subject: Re: JTree node update problem Newsgroups: borland.public.jbuilder.java.swing Reply-To: paul@comp.net Date: Wed, 30 Jun 2004 08:18:11 -0500 References: <40dc5656$1@newsgroups.borland.com> Lines: 17 Organization: CLC User-Agent: KNode/0.7.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit NNTP-Posting-Host: 65.112.35.2 X-Trace: newsgroups.borland.com 1088601474 65.112.35.2 (30 Jun 2004 06:17:54 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail