@PostConstruct private void initializeDialog() { String letterDate = modelTranslations.toDisplayString(state.getDate()); String since = modelTranslations.toDisplayString(state.getSince()); addDecoratedText("letter.location.date", "dateLocation", Pos.CENTER_RIGHT, state.getLocation(), letterDate); addVerticalSpacer(20); addDecoratedText("ch.sahits.game.openpatrician.display.dialog.event.PlagueDialog.plauge", "plauge", state.getLocation(), since, state.getDeathtoll()); if (state.getKilledSpouse().isPresent()) { ISpouseData spouse = state.getKilledSpouse().get(); addDecoratedText("ch.sahits.game.openpatrician.display.dialog.event.FireDialog.wiveDeath", "wiveDeath", spouse.getName(), spouse.getLastName()); } } }