Browse Source

Merge pull request #1052 in BA/design from ~ZHOUPING/design:dev to dev

* commit '8c73bc8175a640e17d2e241c10a7ecd5a43559e4':
  REPORT-2975 9.0更新升级 UILabel加个默认不可用的构造方法
master
superman 7 years ago
parent
commit
b226a5a02b
  1. 5
      designer_base/src/com/fr/design/gui/ilable/UILabel.java

5
designer_base/src/com/fr/design/gui/ilable/UILabel.java

@ -29,6 +29,11 @@ public class UILabel extends JLabel {
super(text); super(text);
} }
public UILabel(String text, boolean enable) {
super(text);
this.setEnabled(enable);
}
public UILabel(Icon image, int horizontalAlignment) { public UILabel(Icon image, int horizontalAlignment) {
super(image, horizontalAlignment); super(image, horizontalAlignment);
} }

Loading…
Cancel
Save