Article View: borland.public.jbuilder.java.swing
Article #13304How to set the '+' sign in a JTree
From: Simon Andersson
Date: Fri, 21 Aug 1998 00:00
Date: Fri, 21 Aug 1998 00:00
9 lines
842 bytes
842 bytes
Hi. I wonder how to set the 'icon' to be displayed to the left of nodes that can have children. I would like the '+' and '-' signs instead of the default circles. Is it so that it is the same icon as the one I can set with the setOpenIcon in the BasicTreeCellRenderer, and that some coordinates defines if i clicked on the circle (or '+') or the folder icon? TIA / Simon
Technical Details
Message-ID:
<6rju18$40a10@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,b5141442c56d5237,start X-Google-Attributes: gid111d45,public From: "Simon Andersson" <simon@acacia.se> Subject: How to set the '+' sign in a JTree Date: 1998/08/21 Message-ID: <6rju18$40a10@forums.borland.com> X-Deja-AN: 383337822 Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Newsgroups: borland.public.jbuilder.java.swing