diff --git a/spellchecker/resources/messages/SpellCheckerBundle.properties b/spellchecker/resources/messages/SpellCheckerBundle.properties
index d0ed35991532..f9272193a6f2 100644
--- a/spellchecker/resources/messages/SpellCheckerBundle.properties
+++ b/spellchecker/resources/messages/SpellCheckerBundle.properties
@@ -59,4 +59,4 @@ max.number.of.corrections=Maximum number of suggestions
use.single.dictionary=Use single dictionary for saving words
advanced.settings=Advanced settings
settings.tab.dictionaries=Dictionaries
-settings.tab.accepted.words=Accepted Words
+settings.tab.accepted.words=Accepted Words:
diff --git a/spellchecker/src/com/intellij/spellchecker/settings/SpellCheckerSettingsPane.form b/spellchecker/src/com/intellij/spellchecker/settings/SpellCheckerSettingsPane.form
index a527952a3c65..a39d20c3df7d 100644
--- a/spellchecker/src/com/intellij/spellchecker/settings/SpellCheckerSettingsPane.form
+++ b/spellchecker/src/com/intellij/spellchecker/settings/SpellCheckerSettingsPane.form
@@ -37,7 +37,8 @@
-
+
+
@@ -46,84 +47,64 @@
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
+
+
+
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
-
+
diff --git a/spellchecker/src/com/intellij/spellchecker/settings/SpellCheckerSettingsPane.java b/spellchecker/src/com/intellij/spellchecker/settings/SpellCheckerSettingsPane.java
index b82e4b2d31a1..450d4b6887d8 100644
--- a/spellchecker/src/com/intellij/spellchecker/settings/SpellCheckerSettingsPane.java
+++ b/spellchecker/src/com/intellij/spellchecker/settings/SpellCheckerSettingsPane.java
@@ -23,7 +23,6 @@ import com.intellij.spellchecker.util.Strings;
import com.intellij.ui.*;
import com.intellij.ui.components.JBCheckBox;
import com.intellij.util.containers.ContainerUtil;
-import com.intellij.util.ui.JBUI;
import org.jetbrains.annotations.NotNull;
import javax.swing.*;
@@ -39,12 +38,14 @@ import static com.intellij.openapi.extensions.PluginId.getId;
import static com.intellij.spellchecker.SpellCheckerManager.DictionaryLevel.APP;
import static com.intellij.spellchecker.SpellCheckerManager.DictionaryLevel.PROJECT;
import static com.intellij.spellchecker.SpellCheckerManager.getBundledDictionaries;
+import static com.intellij.ui.IdeBorderFactory.createTitledBorder;
+import static com.intellij.util.ui.JBUI.insetsTop;
import static javax.swing.event.HyperlinkEvent.EventType.ACTIVATED;
public class SpellCheckerSettingsPane implements Disposable {
private JPanel root;
private JPanel linkContainer;
- private JPanel panelForAcceptedWords;
+ private JPanel myPanelForAcceptedWords;
private JPanel myPanelForCustomDictionaries;
private JBCheckBox myUseSingleDictionary;
private ComboBox myDictionariesComboBox;
@@ -92,8 +93,11 @@ public class SpellCheckerSettingsPane implements Disposable {
myDictionariesPanel = new CustomDictionariesPanel(settings, project, manager);
myPanelForCustomDictionaries.setBorder(
- IdeBorderFactory.createTitledBorder(SpellCheckerBundle.message("add.dictionary.description", getHunspellDescription()),
- false, JBUI.insetsTop(8)).setShowLine(false));
+ createTitledBorder(SpellCheckerBundle.message("add.dictionary.description", getHunspellDescription()),
+ false, insetsTop(8)).setShowLine(false));
+
+ myPanelForAcceptedWords
+ .setBorder(createTitledBorder(SpellCheckerBundle.message("settings.tab.accepted.words"), false, insetsTop(8)).setShowLine(false));
myPanelForCustomDictionaries.setLayout(new BorderLayout());
myPanelForCustomDictionaries.add(myDictionariesPanel, BorderLayout.CENTER);
@@ -130,8 +134,8 @@ public class SpellCheckerSettingsPane implements Disposable {
wordsPanel = new WordsPanel(manager);
- panelForAcceptedWords.setLayout(new BorderLayout());
- panelForAcceptedWords.add(wordsPanel, BorderLayout.CENTER);
+ myPanelForAcceptedWords.setLayout(new BorderLayout());
+ myPanelForAcceptedWords.add(wordsPanel, BorderLayout.CENTER);
}
private static String getHunspellDescription() {