<Swing Dev> DefaultListCellRenderer design

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Mon Feb 29 18:58:49 UTC 2016


Hello, Евгений.
On 26.02.16 17:35, Евгений Бухтин wrote:
> I was able to find one of the early discussions (thread starting from
> here
> http://mail.openjdk.java.net/pipermail/swing-dev/2009-March/000428.html), but
> that doesn't clarify the matter much.
> As far as I understand, the main concern was about prototypeCellValue
> type, which since then was unified with list element type,

It was unified in the fix where DefaultListCellRenderer was changed to 
use ListCellRenderer<Object>. So I think there was a reason.

> so at the moment there are no arguments against DefaultListCellRenderer
> generification, right?

Can you provide some examples to show benefits which we will get in this 
case?


-- 
Best regards, Sergey.



More information about the swing-dev mailing list