public void renderTable(ArrayList<GlossaryResultItem> glossaries) {
for (int i = 0; i < glossaries.size(); i++) {
final GlossaryResultItem item = glossaries.get(i);
resultTable.setWidget(i + 1, SOURCE_COL,
new HighlightingLabel(item.getSource()));
resultTable.setWidget(i + 1, TARGET_COL,
new HighlightingLabel(item.getTarget()));
Button copyButton = new Button(messages.copy());
copyButton.setTitle(messages.copyTooltip());
copyButton.addClickHandler(new ClickHandler() {