DZone ForumsDZone Forums  

Go Back   DZone Forums > Community > Languages & Frameworks > Java
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
LinkBack Thread Tools Display Modes

Topic: JList + Custom Cell Renderer
Old 07-13-2008, 12:41 AM   #1 (permalink)
Member
 
Join Date: May 2008
Posts: 3
Can anyone tell me why the renderer is called so many times (JList seems to call a renderer for every DefaultListModel element every time I add an element leading to n renderers for every new element. This makes it unsuitable for an irc-style messagelist) and why the bounds are all wonky on the custom cell renderer output, also why ensureIndexIsVisible(int) is not working for the unit test:http://pastebin.com/f37794b9
Jack9 is offline   Reply /w Quote -


Thread Tools
Display Modes




All times are GMT -5. The time now is 05:29 PM.