JActionLinkPanel (@NotNull ActionLink link) { // Don't allow focus, as the containing panel is going to be focusable. link.setFocusable(false); link.setPaintUnderline(false); link.setNormalColor(WelcomeScreenUIManager.getLinkNormalColor()); JActionLinkPanel panel = new JActionLinkPanel(link); panel.setBorder(JBUI.Borders.empty(4, 6)); return panel; }