Browse Source

REPORT-2975 9.0更新升级

UILabel加个默认不可用的构造方法
master
zhouping 7 years ago
parent
commit
8c73bc8175
  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