<Swing Dev> [11][JDK-6303622]Use generic in Swing components like JComboBox

Krishna Addepalli krishna.addepalli at oracle.com
Thu Jan 25 15:51:27 UTC 2018


Hi All,

 

Please review a fix for the Enhancement:

 

JDK-6303622: https://bugs.openjdk.java.net/browse/JDK-6303622

Webrev: http://cr.openjdk.java.net/~kaddepalli/6303622/webrev00/

 

The enhancement requests to provide the generic return type for getSelectedItem() to avoid ugly casts for the developers using the api. Have done changes accordingly for JComboBox and JList, and all supporting classes.

 

Thanks,

Krishna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20180125/80f987e0/attachment.html>


More information about the swing-dev mailing list