Article View: borland.public.jbuilder.java.swing
Article #12517Re: Advanced JTree (with images and checkboxes)
From: Matt Krevs
Date: Thu, 17 Dec 1998 00:00
Date: Thu, 17 Dec 1998 00:00
19 lines
1068 bytes
1068 bytes
I think you need to create your own customised TreeCellRenderer. A good tutorial on trees exists at http://java.sun.com/docs/books/tutorial/ui/swingComponents/tree.html Dmitry Ryzhevich wrote in message <3677DB2E.F23F0D89@topsoft.minsk.by>... >Hi! >I need swing tree with more capabilities : >different images for every node and >checkboxes to select nodes. >I think that it is necessary to overload rendering >method. > >Maybe somebody has ready pieces of source code >or any advices. > >Thanx in advance >rds@topsoft.minsk.by >
Technical Details
Message-ID:
<75a3lf$rtr5@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3677DB2E.F23F0D89@topsoft.minsk.by>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,37b42eec8a6ce857 X-Google-Attributes: gid111d45,public From: "Matt Krevs" <mattkrevs@flex.com.au> Subject: Re: Advanced JTree (with images and checkboxes) Date: 1998/12/17 Message-ID: <75a3lf$rtr5@forums.borland.com> X-Deja-AN: 423142219 References: <3677DB2E.F23F0D89@topsoft.minsk.by> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing