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