Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #2609

List cell renderer with J

From "Karsten Wutzke" <karsten.wutzke@THRWHITE.remove-dii-this>
Subject List cell renderer with J
Message-ID <1191925168.780092.148750@19g2000hsx.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
Date 2011-04-27 15:40 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
Hello!

When using a custom cell renderer (JLabel subclass), I noticed the
border of a selected item is not drawn. How can I achieve a border
like with the default renderer, the "yellow dots" around the entries,
as with a standard JList or JTree for example.

How do I do it? Change the JLabel super class to ...?

Karsten

PS: I need icons to be displayed on the left hand side.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextNext in thread | Find similar | Unroll thread


Thread

List cell renderer with J "Karsten Wutzke" <karsten.wutzke@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
  Re: List cell renderer wi "bcd" <bcd@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
  Re: List cell renderer wi "Håkan Lane" <håkan.lane@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000
    Re: List cell renderer wi "Karsten Wutzke" <karsten.wutzke@THRWHITE.remove-dii-this> - 2011-04-27 15:40 +0000

csiph-web