public static @NotNull JComponent getComponent(@NotNull VcsLogUiEx ui) {
    if (ui.getTable() instanceof JComponent) return (JComponent)ui.getTable();
    return ui.getMainComponent();
  }
public static @NotNull JComponent getComponent(@NotNull VcsLogUiEx ui)