🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JTree Node edition

#9452
From: John P. McGrath
Date: Wed, 22 Mar 2000 00:00
17 lines
1065 bytes
On Wed, 22 Mar 2000 02:11:15 -0500, John P. McGrath wrote:

> On Tue, 21 Mar 2000 14:14:02 -0500, Mustapha Essalihe wrote:
> 
> > I have a JTree and I want to edit only some nodes and not others,
> > can I find methods to allow editing only those I want.
> > jtree.setEditable(true) make all nodes editable !.
> 
> You need to override the following JTable method:
> 
>     public boolean isCellEditable( int row, int column );
Ooops - I saw "JTree" but it got to my brain as "JTable".

-- 
John P. McGrath
<JPMcGrath@fast.net>
<jpm@nscs.fast.net>
Technical Details
Message-ID: <MPG.13436082acf132cc98981c@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <38D7C9FA.BC5B3D86@iro.umontreal.ca> <MPG.13423c22859bb0d1989816@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c76e41445cd3c954
X-Google-Attributes: gid111d45,public
From: John P. McGrath <JPMcGrath@fast.net>
Subject: Re: JTree Node edition
Date: 2000/03/22
Message-ID: <MPG.13436082acf132cc98981c@forums.borland.com>
X-Deja-AN: 601160586
References: <38D7C9FA.BC5B3D86@iro.umontreal.ca> <MPG.13423c22859bb0d1989816@forums.borland.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing