src/share/classes/javax/swing/DefaultCellEditor.java

Print this page

        

@@ -129,11 +129,11 @@
      * Constructs a <code>DefaultCellEditor</code> object that uses a
      * combo box.
      *
      * @param comboBox  a <code>JComboBox</code> object
      */
-    public DefaultCellEditor(final JComboBox comboBox) {
+    public DefaultCellEditor(final JComboBox<?> comboBox) {
         editorComponent = comboBox;
         comboBox.putClientProperty("JComboBox.isTableCellEditor", Boolean.TRUE);
         delegate = new EditorDelegate() {
             public void setValue(Object value) {
                 comboBox.setSelectedItem(value);