jdk/src/share/classes/javax/swing/DefaultListCellRenderer.java
changeset 4378 ef21a120cb18
parent 2658 43e06bc950ec
child 5506 202f599c92aa
--- a/jdk/src/share/classes/javax/swing/DefaultListCellRenderer.java	Wed Nov 18 17:36:46 2009 +0300
+++ b/jdk/src/share/classes/javax/swing/DefaultListCellRenderer.java	Mon Nov 23 20:57:17 2009 +0300
@@ -71,7 +71,7 @@
  * @author Hans Muller
  */
 public class DefaultListCellRenderer extends JLabel
-    implements ListCellRenderer, Serializable
+    implements ListCellRenderer<Object>, Serializable
 {
 
    /**
@@ -111,7 +111,7 @@
     }
 
     public Component getListCellRendererComponent(
-        JList list,
+        JList<?> list,
         Object value,
         int index,
         boolean isSelected,