Article View: borland.public.jbuilder.java.swing
Article #13231Re: Cell Renderer....
From: peter
Date: Sat, 22 Aug 1998 00:00
Date: Sat, 22 Aug 1998 00:00
15 lines
1264 bytes
1264 bytes
have figured it out :) ... one renderer can really be used for both Jtree and Jtable...and rest is just ordinary stuff.... peter wrote: > here is my question..actually two :) > is it posible to have one cell renderer registered for two diferrent > components?...especially Jtree and Jtable...idea is that they both would > diplay on one line same text(ok..I mean each would be in split pane)... > And if this is not possible than..how would one use TreeCellRenderer to > display text belonging to tree nodes and and the same time the same > renderer would be used to draw the same text on separate Canvas or > Jpanel.....if anybody has any ideas and is willing to share it ..i'd be > grateful...pete. >
Technical Details
Message-ID:
<35DECE8D.4B17D40F@yucc.yorku.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35D97AEC.8633F18D@yucc.yorku.ca>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,c9a8a7add224b31f X-Google-Attributes: gid111d45,public From: peter <peter@yucc.yorku.ca> Subject: Re: Cell Renderer.... Date: 1998/08/22 Message-ID: <35DECE8D.4B17D40F@yucc.yorku.ca> X-Deja-AN: 383788184 Content-Transfer-Encoding: 7bit References: <35D97AEC.8633F18D@yucc.yorku.ca> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing