@EventHandler protected void onEvent(final AxisPositionEvent evt) { final Display<?> activeDisplay = displayService.getActiveDisplay(); if (evt.getDisplay() == activeDisplay) drawIcon(); }
@EventHandler protected void onEvent(final DisplayDeletedEvent evt) { if (displayService.getActiveDisplay() == null) drawIcon(); }