public void configure(DocumentSettings docSettings) {
		
		// Lazy Instantiation
		if (!initialized) {
			initialize();
			initialized = true;
		}
		
		this.docSettings = docSettings;
		
		// Set the Preference Objects on the Listeners so that changes are always sent to the document level Preferences.
		lineEndComboBoxListener.setPreference(docSettings.lineEnd);
		saveEncodingComboBoxListener.setPreference(docSettings.saveEncoding);
		saveFormatComboBoxListener.setPreference(docSettings.saveFormat);
		ownerNameTextFieldListener.setPreference(docSettings.ownerName);
		ownerEmailTextFieldListener.setPreference(docSettings.ownerEmail);
		applyFontStyleForCommentsCheckBoxListener.setPreference(docSettings.applyFontStyleForComments);
		applyFontStyleForEditabilityCheckBoxListener.setPreference(docSettings.applyFontStyleForEditability);
		applyFontStyleForMoveabilityCheckBoxListener.setPreference(docSettings.applyFontStyleForMoveability);
		useCreateModDatesCheckBoxListener.setPreference(docSettings.useCreateModDates);
		createModDatesFormatTextFieldListener.setPreference(docSettings.createModDatesFormat);
		
		if (docSettings.useDocumentSettings()) {
			isInheritingPrefsLabel.setText(IS_USING_DOCUMENT_PREFS);
			buttonRestoreToGlobal.setEnabled(true);
		} else {
			isInheritingPrefsLabel.setText(IS_USING_APPLICATION_PREFS);
			buttonRestoreToGlobal.setEnabled(false);
			docSettings.syncToGlobal();
		}
		syncToDocumentSettings();
	}