< prev index next >

## src/com/sun/javatest/audit/ListPane.java

Print this page

    @@ -59,11 +59,11 @@
                 model.setData(data);
                 showBody();
             }
         }

    -    private class ListModel extends AbstractListModel {
    +    private class ListModel extends AbstractListModel<Object> {
             public Object getElementAt(int index) {
                 return data[index];
             }

             public int getSize() {

    @@ -93,8 +93,8 @@
                     name = String.valueOf(o);
                 return super.getListCellRendererComponent(list, name, index, isSelected, cellHasFocus);
             }
         }

    -    protected JList list;
    +    protected JList<Object> list;
         private ListModel model;
     }

< prev index next >