private static JComponent createLabel(@Nls String text) {
    JLabel label = new JLabel(text);
    label.setHorizontalAlignment(SwingConstants.CENTER);
    return label;
  }
private static JComponent createLabel(@Nls String text)