Article View: borland.public.jbuilder.java.swing
Article #10507JTree vs TreeControl
From: Amazone
Date: Thu, 16 Sep 1999 00:00
Date: Thu, 16 Sep 1999 00:00
11 lines
1060 bytes
1060 bytes
Hello you all ! In JBuilder 1.01, we designed our own tree based on the TreeControl. We used a CompositeItemEditor, because the object in the node was two strings (like label - textfield). I've seen an example called SampleTree in JBuilder 3.0, a TreeCellRenderer extending from JLabel. If i create a component MyNode made of a JLabel and a JTextField with providing a paint method, i should be in business, no ?! Did anybody tried something similar ? Any tips for me ?
Technical Details
Message-ID:
<GO6E3.552$j6.11230@carnaval.risq.qc.ca>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,28da85a04dae175b,start X-Google-Attributes: gid111d45,public From: "Amazone" <DeepCover@videotron.ca> Subject: JTree vs TreeControl Date: 1999/09/16 Message-ID: <GO6E3.552$j6.11230@carnaval.risq.qc.ca> X-Deja-AN: 525867695 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 X-Trace: carnaval.risq.qc.ca 937490726 132.208.210.61 (Thu, 16 Sep 1999 10:05:26 EDT) Organization: UQAM http://www.uqam.ca/ NNTP-Posting-Date: Thu, 16 Sep 1999 10:05:26 EDT Newsgroups: borland.public.jbuilder.java.swing