private static boolean isComponentVisible(JComponent component) {
    return !isNull(component) && component.isVisible() && !component.getBounds().isEmpty();
  }
private static boolean isComponentVisible(JComponent component)