void () { List<String> settingNames = mySettingsToShow.getSettings(getSettingsType()); if (settingNames.isEmpty()) { settingNames = mySettingsToShow.getOtherSetting(); } mySettingsProvider.customizeSettings(getFilteredSettingsConsumer(settingNames, this), getSettingsType()); initTables(); myOptionsTree = createOptionsTree(); myOptionsTree.setCellRenderer(new MyTreeCellRenderer()); JBScrollPane pane = new JBScrollPane(myOptionsTree) { @Override public Dimension getMinimumSize() { return super.getPreferredSize(); } }; myPanel = new JPanel(new BorderLayout()); myPanel.add(pane); isFirstUpdate = false; }