void (JavadocConfiguration configuration) { myPanel.myTfOutputDir.setText(toUserSystemFormat(configuration.OUTPUT_DIRECTORY)); myPanel.myOtherOptionsField.setText(configuration.OTHER_OPTIONS); myPanel.myHeapSizeField.setText(configuration.HEAP_SIZE); myPanel.myLocaleTextField.setText(configuration.LOCALE); myPanel.myOpenInBrowserCheckBox.setSelected(configuration.OPEN_IN_BROWSER); myPanel.myScopeCombo.setSelectedItem(configuration.OPTION_SCOPE); myPanel.myHierarchy.setSelected(configuration.OPTION_HIERARCHY); myPanel.myNavigator.setSelected(configuration.OPTION_NAVIGATOR); myPanel.myIndex.setSelected(configuration.OPTION_INDEX); myPanel.mySeparateIndex.setSelected(configuration.OPTION_SEPARATE_INDEX); myPanel.myTagUse.setSelected(configuration.OPTION_DOCUMENT_TAG_USE); myPanel.myTagAuthor.setSelected(configuration.OPTION_DOCUMENT_TAG_AUTHOR); myPanel.myTagVersion.setSelected(configuration.OPTION_DOCUMENT_TAG_VERSION); myPanel.myTagDeprecated.setSelected(configuration.OPTION_DOCUMENT_TAG_DEPRECATED); myPanel.myDeprecatedList.setSelected(configuration.OPTION_DEPRECATED_LIST); myPanel.mySeparateIndex.setEnabled(myPanel.myIndex.isSelected()); myPanel.myDeprecatedList.setEnabled(myPanel.myTagDeprecated.isSelected()); myPanel.myIncludeLibraryCb.setSelected(configuration.OPTION_INCLUDE_LIBS); myPanel.myLinkToJdkDocs.setSelected(configuration.OPTION_LINK_TO_JDK_DOCS); }