From 9c50a580317f5c55ca1a7f1bc0c6b998f9a0b431 Mon Sep 17 00:00:00 2001 From: richie Date: Wed, 28 Aug 2019 20:46:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8D=E8=A7=84=E8=8C=83?= =?UTF-8?q?=E7=9A=84=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/design/ui/component/UICheckBox.java | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/fanruan/api/design/ui/component/UICheckBox.java b/src/main/java/com/fanruan/api/design/ui/component/UICheckBox.java index c6ccbe9..ebc7998 100644 --- a/src/main/java/com/fanruan/api/design/ui/component/UICheckBox.java +++ b/src/main/java/com/fanruan/api/design/ui/component/UICheckBox.java @@ -6,19 +6,23 @@ import javax.swing.*; * @author zhaojunzhe * @version 10.0 * Created by zhaojunzhe on 2019-08-28 - * checkbox组件 + * 复选框组件 */ -public class UICheckBox extends com.fr.design.gui.icheckbox.UICheckBox{ +public class UICheckBox extends com.fr.design.gui.icheckbox.UICheckBox { - public UICheckBox(String string){super(string);} + public UICheckBox() { + } + + public UICheckBox(String text) { + super(text); + } - public UICheckBox(){} - public UICheckBox(String LocText, boolean checked){ - super(LocText, checked); + public UICheckBox(String text, boolean checked) { + super(text, checked); } - public UICheckBox(String text, Icon icon){ + public UICheckBox(String text, Icon icon) { super(text, icon); } }