setText(value == null ? "" : ((Driver)value).getDriverName());
setText(value == null ? "" : ((Driver)value).getPatchType());
    public Component getListCellRendererComponent (        JList list,        Object value,        int index,        boolean isSelected,        boolean cellHasFocus      ) {      super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);      setText(value == null ? "" : ((Driver)value).getDriverName());      return this;    }