private void onEvent(@Nullable Component component) {
      if (component == null) return;

      if (component instanceof JBLabel) {
        if (component.isShowing()) {
          onLabelShowing((JBLabel)component);
        }
        else {
          onLabelHidden((JBLabel)component);
        }
      }
    }
private void onEvent(@Nullable Component component)