@Override protected JComponent createItemComponent() { myTextLabel = new ErrorLabel(); myTextLabel.setOpaque(true); myTextLabel.setBorder(BorderFactory.createEmptyBorder(1, 1, 1, 1)); return layoutComponent(myTextLabel); }
@Override protected JComponent createItemComponent() { myTextLabel = new ErrorLabel(); return myTextLabel; }
protected void createLabel() { myTextLabel = new ErrorLabel(); myTextLabel.setBorder(BorderFactory.createEmptyBorder(1, 1, 1, 1)); myTextLabel.setOpaque(true); }
protected void createLabel() { myTextLabel = new ErrorLabel(); myTextLabel.setBorder(JBUI.Borders.emptyBottom(1)); myTextLabel.setOpaque(true); }