void (boolean now) { final Object[] values = myMasterController.getSelectedItems(); ItemWrapper wrapper = null; if (values != null && values.length == 1) { wrapper = (ItemWrapper)values[0]; getLabel().setText(getTitle2Text(wrapper.footerText())); } else { getLabel().setText(" "); } mySelectedItem = wrapper; myUpdateAlarm.cancelAllRequests(); if (now) { doUpdateDetailViewWithItem(mySelectedItem); } else { myUpdateAlarm.addRequest(() -> { doUpdateDetailViewWithItem(mySelectedItem); myUpdateAlarm.cancelAllRequests(); }, 100); } }