JComponent (@NotNull Presentation presentation, @NotNull String place) { JBLabel label = new MyLabel() .withFont(JBUI.Fonts.toolbarFont()) .withBorder(JBUI.Borders.empty(0, 6, 0, 5)); if (isCopyable()) { label.setCopyable(true); } return label; }