How to customize the displaying of a JList

I

IchBin

kito said:
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
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-)
 
T

Thomas Fritsch

H

hiwa

kito ã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸:
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
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.
 
I

IchBin

kito said:
Strange,

I checked the links and they are fine!

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-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,444
Messages
2,571,709
Members
48,796
Latest member
Greg L.
Top