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