JBLabel (@Nls @NotNull String text, @Nullable Icon icon) { JBLabel label = new JBLabel(text, icon, SwingConstants.LEFT); label.setFont(getLabelsFont()); label.setIconTextGap(0); label.setHorizontalAlignment(SwingConstants.LEFT); label.setVerticalTextPosition(SwingConstants.CENTER); label.setCopyable(true); return label; }