Java 类com.intellij.ui.ErrorLabel 实例源码

项目:tools-idea    文件:GroupedItemsListRenderer.java   
@Override
protected JComponent createItemComponent() {
  myTextLabel = new ErrorLabel();
  myTextLabel.setOpaque(true);
  myTextLabel.setBorder(BorderFactory.createEmptyBorder(1, 1, 1, 1));

  return layoutComponent(myTextLabel);
}
项目:intellij-ce-playground    文件:FacetsTreeCellRenderer.java   
@Override
protected JComponent createItemComponent() {
  myTextLabel = new ErrorLabel();
  return myTextLabel;
}
项目:intellij-ce-playground    文件:GroupedItemsListRenderer.java   
protected void createLabel() {
  myTextLabel = new ErrorLabel();
  myTextLabel.setBorder(BorderFactory.createEmptyBorder(1, 1, 1, 1));
  myTextLabel.setOpaque(true);
}
项目:tools-idea    文件:FacetsTreeCellRenderer.java   
@Override
protected JComponent createItemComponent() {
  myTextLabel = new ErrorLabel();
  return myTextLabel;
}
项目:consulo    文件:GroupedItemsListRenderer.java   
protected void createLabel() {
  myTextLabel = new ErrorLabel();
  myTextLabel.setBorder(JBUI.Borders.emptyBottom(1));
  myTextLabel.setOpaque(true);
}