diff --git a/platform/platform-api/src/com/intellij/ui/components/JBCheckBox.java b/platform/platform-api/src/com/intellij/ui/components/JBCheckBox.java index 4ba14c5c2db9..f37a1c599612 100644 --- a/platform/platform-api/src/com/intellij/ui/components/JBCheckBox.java +++ b/platform/platform-api/src/com/intellij/ui/components/JBCheckBox.java @@ -1,6 +1,7 @@ // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ui.components; +import com.intellij.openapi.util.NlsUI; import com.intellij.ui.AnchorableComponent; import com.intellij.util.ui.StartupUiUtil; import com.intellij.util.ui.UIUtil; @@ -23,11 +24,11 @@ public class JBCheckBox extends JCheckBox implements AnchorableComponent { this(null); } - public JBCheckBox(@Nullable @Nls String text) { + public JBCheckBox(@Nullable @Nls @NlsUI.Checkbox String text) { this(text, false); } - public JBCheckBox(@Nullable @Nls String text, boolean selected) { + public JBCheckBox(@Nullable @Nls @NlsUI.Checkbox String text, boolean selected) { super(text, null, selected); }