diff options
-rw-r--r-- | smartdashboard/src/edu/wpi/first/smartdashboard/gui/elements/CheckBox.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/smartdashboard/src/edu/wpi/first/smartdashboard/gui/elements/CheckBox.java b/smartdashboard/src/edu/wpi/first/smartdashboard/gui/elements/CheckBox.java index 73e93bd..9d19f78 100644 --- a/smartdashboard/src/edu/wpi/first/smartdashboard/gui/elements/CheckBox.java +++ b/smartdashboard/src/edu/wpi/first/smartdashboard/gui/elements/CheckBox.java @@ -23,8 +23,10 @@ public class CheckBox extends AbstractValueWidget { setLayout(new BoxLayout(this, BoxLayout.X_AXIS)); + JLabel nameLabel = new JLabel(getFieldName()); valueField = new EditableBooleanValueCheckBox(getFieldName()); + add(nameLabel); add(valueField); } |