Article View: borland.public.jbuilder.java.swing
Article #12398Re: JTree methods
From: Greg Hamer
Date: Thu, 07 Jan 1999 00:00
Date: Thu, 07 Jan 1999 00:00
25 lines
1292 bytes
1292 bytes
Most of the code for painting is in the associated Lookand Feel class. Leo Cohen wrote: > I am trying to understand the workings of JTree, and to figure out how > it makes a call on getChild(). > > There is a call to treeModel.getChild() in getChildTreePath(), and > several in the AccessibleTreeModel, in particular in > getAccessibleChild(). However, there is no call in JTree to > getAccessibleChild(). > > The question is, how does JTree reach the getChild() method if it is > only called from the accessible tree model, and nothing in JTree calls > on the accessible tree model? > -- > Leo Cohen > > 116-1 Howard Drive > Charlottesville, VA 22903 > > 804-243-8922 (UVA) > 804-244-4648 (home) > 804-244-7922 (fax) > lcohen@cs.virginia.edu
Technical Details
Message-ID:
<369565E0.3B3B4342@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3694C40F.8E5E1DF9@cs.virginia.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,68e3a29d11c31a30 X-Google-Attributes: gid111d45,public From: Greg Hamer <ghamer@inprise.com> Subject: Re: JTree methods Date: 1999/01/07 Message-ID: <369565E0.3B3B4342@inprise.com> X-Deja-AN: 430031022 Content-Transfer-Encoding: 7bit References: <3694C40F.8E5E1DF9@cs.virginia.edu> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing