/** * Returns the value for a cell in the table model. * * @param row the row index (zero-based). * @param column the column index (zero-based). * * @return the value. */ public Object getValueAt(final int row, final int column) { Object result = null; final Contributor contributor = (Contributor) this.contributors.get(row); if (column == 0) { result = contributor.getName(); } else if (column == 1) { result = contributor.getEmail(); } return result; }
/** * Returns the value for a cell in the table model. * * @param row the row index (zero-based). * @param column the column index (zero-based). * * @return the value. */ public Object getValueAt(final int row, final int column) { Object result = null; final Contributor contributor = (Contributor) this.contributors.get(row); if (column == 0) { result = contributor.getName(); } else if (column == 1) { result = contributor.getEmail(); } return result; }
/** * Returns the value for a cell in the table model. * * @param row the row index (zero-based). * @param column the column index (zero-based). * * @return the value. */ public Object getValueAt(final int row, final int column) { Object result = null; final Contributor contributor = (Contributor) this.contributors.get(row); if (column == 0) { result = contributor.getName(); } else if (column == 1) { result = contributor.getEmail(); } return result; }
result.append(contributor.getName()); result.append(" ("); result.append(contributor.getEmail()); result.append(").");
result.append(contributor.getName()); result.append(" ("); result.append(contributor.getEmail()); result.append(").");
result.append(contributor.getName()); result.append(" ("); result.append(contributor.getEmail()); result.append(").");