void () { final GuiDesignerConfiguration configuration = GuiDesignerConfiguration.getInstance(myProject); /*general*/ if (configuration.INSTRUMENT_CLASSES) { myGeneralUI.myRbInstrumentClasses.setSelected(true); } else { myGeneralUI.myRbInstrumentSources.setSelected(true); } myGeneralUI.myChkCopyFormsRuntime.setSelected(configuration.COPY_FORMS_RUNTIME_TO_OUTPUT); myGeneralUI.myChkUseDynamicBundles.setSelected(configuration.USE_DYNAMIC_BUNDLES); myGeneralUI.myLayoutManagerCombo.setModel(new DefaultComboBoxModel<>(LayoutManagerRegistry.getNonDeprecatedLayoutManagerNames())); myGeneralUI.myLayoutManagerCombo.setRenderer(SimpleListCellRenderer.create("", LayoutManagerRegistry::getLayoutManagerDisplayName)); myGeneralUI.myLayoutManagerCombo.setSelectedItem(configuration.DEFAULT_LAYOUT_MANAGER); myGeneralUI.myDefaultFieldAccessibilityCombo.setSelectedItem(configuration.DEFAULT_FIELD_ACCESSIBILITY); myGeneralUI.myResizeHeaders.setSelected(configuration.RESIZE_HEADERS); }