void () { if (AccessibleAnnouncerUtil.isSafeAnnouncingAvailable()) { if (myAnnounceSearchResultsAlarm == null) { myAnnounceSearchResultsAlarm = new SingleAlarm(this::announceSearchResults, 250, null, Alarm.ThreadToUse.SWING_THREAD, ModalityState.stateForComponent(myPanel)); } myAnnounceSearchResultsAlarm.cancelAndRequest(); } }