Hi,
I've a question regarding JLists. I saw in a program a list customized
like in the pics below:
http://mitglied.lycos.de/kito85/webspace/sample.JPG
http://mitglied.lycos.de/kito85/webspace/sample2.JPG
How can one achieve this, because I would like to use this in an
application of mine!
thanks
kito
IchBin - 30 Jul 2006 22:32 GMT
> Hi,
> I've a question regarding JLists. I saw in a program a list customized
[quoted text clipped - 7 lines]
> thanks
> kito
Can not tell.. your links are incorrect.
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
kito - 30 Jul 2006 23:08 GMT
Strange,
I checked the links and they are fine!
> Can not tell.. your links are incorrect.
>
[quoted text clipped - 4 lines]
> 'If there is one, Knowledge is the "Fountain of Youth"'
> -William E. Taylor, Regular Guy (1952-)
IchBin - 31 Jul 2006 04:29 GMT
> Strange,
>
[quoted text clipped - 8 lines]
>> 'If there is one, Knowledge is the "Fountain of Youth"'
>> -William E. Taylor, Regular Guy (1952-)
Not that it matters now but when I select either of those two links I get:
Not Found
The requested URL /kito85/webspace/sample.JPG was not found on this server.
Apache/2.0.55 (Win32) mod_jk/1.2.15 PHP/5.2.0-dev SVN/1.3.0 DAV/2 Server
at mitglied.lycos.de Port 80
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
kito - 31 Jul 2006 08:10 GMT
Thanks a lot at all!
I'm going to try it out now.
Thomas Fritsch - 30 Jul 2006 23:35 GMT
> I've a question regarding JLists. I saw in a program a list customized
> like in the pics below:
[quoted text clipped - 3 lines]
> How can one achieve this, because I would like to use this in an
> application of mine!
You can do it by your making your own implementation of ListCellRenderer and
setting that onto the JList.
To find examples google for:
JList +ListCellRenderer

Signature
Thomas
hiwa - 31 Jul 2006 02:23 GMT
kito のメッセージ:
> Hi,
> I've a question regarding JLists. I saw in a program a list customized
[quoted text clipped - 8 lines]
> kito
>From the API documentation for javax.swing.JList:
<quote>
See How to Use Lists in The Java Tutorial for further documentation.
Also see the article Advanced JList Programming in The Swing
Connection.
</quote>
Find the descriptions on cell renderers from the linked documents.
Real Gagnon - 31 Jul 2006 04:12 GMT
"kito" <juri.strumpflohner@gmail.com> wrote in news:1154289661.599539.97510
@s13g2000cwa.googlegroups.com:
> I've a question regarding JLists. I saw in a program a list customized
> like in the pics below:
> http://mitglied.lycos.de/kito85/webspace/sample.JPG
See "Have images in a JList" at
http://www.rgagnon.com/javadetails/java-0203.html
Bye.

Signature
Real Gagnon from Quebec, Canada
* Looking for Java or PB code examples ? Visit Real's How-to
* http://www.rgagnon.com/howto.html