private static JComponent createLinkComponent() {
    JPanel linkPanel = new JPanel(new FlowLayout(FlowLayout.LEFT));
    String message = CodeStyleBundle.message("excluded.files.glob.patterns.hint");
    String textPart = message.replaceFirst("<a>.*</a>", "").trim();
    String linkPart = message.replaceFirst("^.*<a>","").replaceFirst("</a>.*$","");
    JLabel hintLabel = new JLabel(textPart);
    hintLabel.setFont(JBUI.Fonts.smallFont());
    hintLabel.setForeground(UIUtil.getContextHelpForeground());
    linkPanel.add(hintLabel);
    BrowserLink link = new BrowserLink(linkPart, "https://en.wikipedia.org/wiki/Glob_(programming)");
    link.setFont(JBUI.Fonts.smallFont());
    link.setIconTextGap(0);
    link.setHorizontalTextPosition(SwingConstants.LEFT);
    linkPanel.add(link);
    return linkPanel;
  }
private static JComponent createLinkComponent()