Forcing a JList to refresh one cell
- From: ptomblin+netnews@xxxxxxxxx (Paul Tomblin)
- Date: Wed, 25 Jan 2006 21:41:01 +0000 (UTC)
I have a JList where each item in the list is rendered by a
ListCellRenderer. Among other things, the ListCellRenderer shows a
JProgressBar that is updated by an outside event. The item itself has an
observer to notice that it has been updated, but other than calling
repaint on the whole JList, I can't seem to make it repaint the cell that
changed.
--
Paul Tomblin <ptomblin@xxxxxxxxx> http://xcski.com/blogs/pt/
I think I'd like to see a Simpsons episode starting up with Bart Simpson
writing 'I will not attempt to undermine the Usenet Cabal'.
-- J. D. Falk
.
- Follow-Ups:
- Re: Forcing a JList to refresh one cell
- From: Vova Reznik
- Re: Forcing a JList to refresh one cell
- From: Oliver Wong
- Re: Forcing a JList to refresh one cell
- Prev by Date: Re: Essentially skinning my app..
- Next by Date: Re: Forcing a JList to refresh one cell
- Previous by thread: Greek font in Java?
- Next by thread: Re: Forcing a JList to refresh one cell
- Index(es):
Relevant Pages
|
|