void () { Collection<String> settingNames = mySettingsToShow.getSettings(getSettingsType()); if (settingNames.isEmpty()) { settingNames = mySettingsToShow.getOtherSetting(); } initTables(); Collection<String> fields = populateWithAssociatedFields(settingNames); fields.add("KEEP_LINE_BREAKS"); mySettingsProvider.customizeSettings(getFilteredSettingsConsumer(settingNames, this), getSettingsType()); myTreeTable = createOptionsTree(getSettings()); JBScrollPane scrollPane = new JBScrollPane(myTreeTable) { @Override public Dimension getMinimumSize() { return myTreeTable.getPreferredSize(); } }; myPanel = new JPanel(new BorderLayout()); myPanel.add(scrollPane); isFirstUpdate = false; }