Article View: borland.public.jbuilder.java.swing
Article #8682Re: How to use JScrollPane
From: Scott Yaung
Date: Mon, 31 Jul 2000 00:00
Date: Mon, 31 Jul 2000 00:00
13 lines
964 bytes
964 bytes
>JList myList = new JList(); >JScrollPane pane = new JScrollPane(myList); > >You then need to implement your own renderer to set the icon on each >line - see the JDK docs for javax.swing.JList for an example. Hi , Can you give me a sample, 1st, I need some data related (a object )to the item 2nd, each item have a different icon 3rd, the text of the item will with a darker shadow (option) 4th ,How about multi-column list ? Thanks lot .
Technical Details
Message-ID:
<8m3rib$l2f1@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8m3jmu$h1c4@bornews.borland.com> <uaeeyimpv.fsf@sds.no>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,91b3c31e091d5875 X-Google-Attributes: gid111d45,public From: "Scott Yaung" <hypnex@163.net> Subject: Re: How to use JScrollPane Date: 2000/07/31 Message-ID: <8m3rib$l2f1@bornews.borland.com> X-Deja-AN: 652746149 References: <8m3jmu$h1c4@bornews.borland.com> <uaeeyimpv.fsf@sds.no> Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Newsgroups: borland.public.jbuilder.java.swing