< prev index next >

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

Print this page

    *** 59,69 ****
                  model.setData(data);
                  showBody();
              }
          }

    !     private class ListModel extends AbstractListModel {
              public Object getElementAt(int index) {
                  return data[index];
              }

              public int getSize() {
    --- 59,69 ----
                  model.setData(data);
                  showBody();
              }
          }

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

              public int getSize() {
    *** 93,100 ****
                      name = String.valueOf(o);
                  return super.getListCellRendererComponent(list, name, index, isSelected, cellHasFocus);
              }
          }

    !     protected JList list;
          private ListModel model;
      }
    --- 93,100 ----
                      name = String.valueOf(o);
                  return super.getListCellRendererComponent(list, name, index, isSelected, cellHasFocus);
              }
          }

    !     protected JList<Object> list;
          private ListModel model;
      }

< prev index next >