void () { final GuiDesignerConfiguration configuration = GuiDesignerConfiguration.getInstance(myProject); configuration.COPY_FORMS_RUNTIME_TO_OUTPUT = myGeneralUI.myChkCopyFormsRuntime.isSelected(); configuration.DEFAULT_LAYOUT_MANAGER = (String)myGeneralUI.myLayoutManagerCombo.getSelectedItem(); configuration.INSTRUMENT_CLASSES = myGeneralUI.myRbInstrumentClasses.isSelected(); configuration.DEFAULT_FIELD_ACCESSIBILITY = (String)myGeneralUI .myDefaultFieldAccessibilityCombo.getSelectedItem(); configuration.RESIZE_HEADERS = myGeneralUI.myResizeHeaders.isSelected(); configuration.USE_DYNAMIC_BUNDLES = myGeneralUI.myChkUseDynamicBundles.isSelected(); if (configuration.INSTRUMENT_CLASSES && !myProject.isDefault()) { final DispatchThreadProgressWindow progressWindow = new DispatchThreadProgressWindow(false, myProject); progressWindow.setRunnable(new MyApplyRunnable(progressWindow)); progressWindow.setTitle(UIDesignerBundle.message("title.converting.project")); progressWindow.start(); } }