else {
entityLabel.setVisible(false);
}
timeLabel.setBaseTime(noteHeader.getTimestamp());
final SafeHtmlBuilder builder = new SafeHtmlBuilder();
final NoteContent noteContent = event.getNoteDetails().getNoteContent();
final Optional<String> subject = noteContent.getSubject();
if (subject.isPresent()) {
builder.appendHtmlConstant("<span style=\"font-weight: bold; padding-right: 4px;\">" + subject.or("") + ":</span>");
}
bodyLabel.setHTML(builder.appendHtmlConstant(noteContent.getBody().or("")).toSafeHtml());
}