<Swing Dev> [PATCH] 100153: Generics: JComboBox
fbrunnerlist at gmx.ch
Sun Oct 10 07:21:23 PDT 2010
here is a patch to "generify" JComboBox along with: ComboBoxEditor, ComboBoxModel,
DefaultComboBoxModel and MutableComboBoxModel.
I fixed the BasicComboBoxEditor as I proposed in my last post.
MutableComboBoxModel.removeElement is not generified currently and thus still takes an Object as argument. This is consistent with the Collection Framework (eg. java.util.List.remove). Please tell me if you prefer this method to take a generic parameter as well.
I also created a new issue in the OpenJDK Bugzilla system:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 28442 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20101010/47e34d8c/attachment-0001.bin
More information about the swing-dev