public static LanguageLevel checkAccepted(Component parent, LanguageLevel level) {
    return level == null || isLanguageLevelAccepted(level) || showDialog(parent, level) ? level : null;
  }
public static LanguageLevel checkAccepted(Component parent, LanguageLevel level)