private void renderNote(ProblemNote pn) {
Listitem item = new Listitem();
lstNotes.appendChild(item);
Listcell cell = addCell(item, "");
cell.setSclass("bgo-problem-icon-cell");
Toolbarbutton btn = new Toolbarbutton("", DELETE_ICON);
btn.setTooltiptext("Delete this note.");
btn.addForward(Events.ON_CLICK, lstNotes, "onDeleteNote");
cell.appendChild(btn);
addCell(item, pn.getNumber());
addCell(item, pn.getNarrative()).setHflex("1");
addCell(item, DateUtil.formatDate(pn.getDateAdded()));
addCell(item, pn.getAuthor());
item.setValue(pn);
}