private void initialize() {
		OK =                               GUITreeLoader.reg.getText("ok");
		CANCEL =                           GUITreeLoader.reg.getText("cancel");
		RESTORE_TO_GLOBAL =                GUITreeLoader.reg.getText("restore_to_application_preferences");
		
		LINE_TERMINATOR =                  GUITreeLoader.reg.getText("line_terminator");
		ENCODING_WHEN_SAVING =             GUITreeLoader.reg.getText("encoding_when_saving");
		FORMAT_WHEN_SAVING =               GUITreeLoader.reg.getText("format_when_saving");
		OWNER_NAME =                       GUITreeLoader.reg.getText("owner_name");
		OWNER_EMAIL =                      GUITreeLoader.reg.getText("owner_email");
		APPLY_FONT_STYLE_FOR_COMMENTS =    GUITreeLoader.reg.getText("apply_font_style_for_comments");
		APPLY_FONT_STYLE_FOR_EDITABILITY = GUITreeLoader.reg.getText("apply_font_style_for_editability");
		APPLY_FONT_STYLE_FOR_MOVEABILITY = GUITreeLoader.reg.getText("apply_font_style_for_moveability");
		CREATION_DATE =                    GUITreeLoader.reg.getText("creation_date");
		MODIFICATION_DATE =                GUITreeLoader.reg.getText("modification_date");
		USE_CREATE_MOD_DATES =             GUITreeLoader.reg.getText("use_create_mod_dates"); // ???
		CREATE_MOD_DATES_FORMAT =          GUITreeLoader.reg.getText("create_mod_dates_format"); // ???
		
		IS_USING_APPLICATION_PREFS =       GUITreeLoader.reg.getText("is_using_application_prefs");
		IS_USING_DOCUMENT_PREFS =          GUITreeLoader.reg.getText("is_using_document_prefs");
		
		buttonOK =              new JButton(OK);
		buttonCancel =          new JButton(CANCEL);
		buttonRestoreToGlobal = new JButton(RESTORE_TO_GLOBAL);
		
		lineEndComboBox =                      new JComboBox(PlatformCompatibility.PLATFORM_IDENTIFIERS);
		saveEncodingComboBox =                 new JComboBox();
		saveFormatComboBox =                   new JComboBox();
		ownerNameField =                       new JTextField(10);
		ownerEmailField =                      new JTextField(10);
		applyFontStyleForCommentsCheckBox =    new JCheckBox();
		applyFontStyleForEditabilityCheckBox = new JCheckBox();
		applyFontStyleForMoveabilityCheckBox = new JCheckBox();
		useCreateModDatesCheckBox =            new JCheckBox();
		createModDatesFormatField =            new JTextField(10);
		
		creationDateLabel =      new JLabel(" ");
		modificationDateLabel =  new JLabel(" ");
		isInheritingPrefsLabel = new JLabel(" ");
		
		lineEndComboBoxListener =                      new ComboBoxListener(lineEndComboBox, null);
		saveEncodingComboBoxListener =                 new ComboBoxListener(saveEncodingComboBox, null);
		saveFormatComboBoxListener =                   new ComboBoxListener(saveFormatComboBox, null);
		ownerNameTextFieldListener =                   new TextFieldListener(ownerNameField, null);
		ownerEmailTextFieldListener =                  new TextFieldListener(ownerEmailField, null);
		applyFontStyleForCommentsCheckBoxListener =    new CheckboxListener(applyFontStyleForCommentsCheckBox, null);
		applyFontStyleForEditabilityCheckBoxListener = new CheckboxListener(applyFontStyleForEditabilityCheckBox, null);
		applyFontStyleForMoveabilityCheckBoxListener = new CheckboxListener(applyFontStyleForMoveabilityCheckBox, null);
		useCreateModDatesCheckBoxListener =            new CheckboxListener(useCreateModDatesCheckBox, null);
		createModDatesFormatTextFieldListener =        new TextFieldListener(createModDatesFormatField, null);
		
		// Setup ComboBoxes
		for (int i = 0, limit = Preferences.ENCODINGS.size(); i < limit; i++) {
			saveEncodingComboBox.addItem((String) Preferences.ENCODINGS.get(i));
		}
		
		for (int i = 0, limit = Preferences.FILE_FORMATS_SAVE.size(); i < limit; i++) {
			saveFormatComboBox.addItem((String) Preferences.FILE_FORMATS_SAVE.get(i));
		}
		
		// Add Listeners
		buttonOK.addActionListener(this);
		buttonCancel.addActionListener(this);
		buttonRestoreToGlobal.addActionListener(this);
		buttonRestoreToGlobal.setToolTipText(GUITreeLoader.reg.getText("tooltip_restore_to_global"));
		
		lineEndComboBox.addItemListener(lineEndComboBoxListener);
		saveEncodingComboBox.addItemListener(saveEncodingComboBoxListener);
		saveFormatComboBox.addItemListener(saveFormatComboBoxListener);
		ownerNameField.addFocusListener(ownerNameTextFieldListener);
		ownerEmailField.addFocusListener(ownerEmailTextFieldListener);
		applyFontStyleForCommentsCheckBox.addActionListener(applyFontStyleForCommentsCheckBoxListener);
		applyFontStyleForEditabilityCheckBox.addActionListener(applyFontStyleForEditabilityCheckBoxListener);
		applyFontStyleForMoveabilityCheckBox.addActionListener(applyFontStyleForMoveabilityCheckBoxListener);
		useCreateModDatesCheckBox.addActionListener(useCreateModDatesCheckBoxListener);
		createModDatesFormatField.addFocusListener(createModDatesFormatTextFieldListener);
		
		
		// Define the top panel
		JPanel topPanel = new JPanel();
		topPanel.setLayout(new GridBagLayout());
		
		AbstractPreferencesPanel.addSingleItemCentered(isInheritingPrefsLabel,               topPanel);
		AbstractPreferencesPanel.addPreferenceItem(CREATION_DATE,     creationDateLabel,     topPanel);
		AbstractPreferencesPanel.addPreferenceItem(MODIFICATION_DATE, modificationDateLabel, topPanel);
		
		getContentPane().add(topPanel, BorderLayout.NORTH);
		
		
		// Define the Center Panel
		JPanel centerPanel = new JPanel();
		centerPanel.setLayout(new GridBagLayout());
		
		AbstractPreferencesPanel.addPreferenceItem(LINE_TERMINATOR,                  lineEndComboBox,                      centerPanel);
		AbstractPreferencesPanel.addPreferenceItem(ENCODING_WHEN_SAVING,             saveEncodingComboBox,                 centerPanel);
		AbstractPreferencesPanel.addPreferenceItem(FORMAT_WHEN_SAVING,               saveFormatComboBox,                   centerPanel);
		AbstractPreferencesPanel.addPreferenceItem(OWNER_NAME,                       ownerNameField,                       centerPanel);
		AbstractPreferencesPanel.addPreferenceItem(OWNER_EMAIL,                      ownerEmailField,                      centerPanel);
		AbstractPreferencesPanel.addPreferenceItem(APPLY_FONT_STYLE_FOR_COMMENTS,    applyFontStyleForCommentsCheckBox,    centerPanel);
		AbstractPreferencesPanel.addPreferenceItem(APPLY_FONT_STYLE_FOR_EDITABILITY, applyFontStyleForEditabilityCheckBox, centerPanel);
		AbstractPreferencesPanel.addPreferenceItem(APPLY_FONT_STYLE_FOR_MOVEABILITY, applyFontStyleForMoveabilityCheckBox, centerPanel);
		AbstractPreferencesPanel.addPreferenceItem(USE_CREATE_MOD_DATES,             useCreateModDatesCheckBox,            centerPanel);
		AbstractPreferencesPanel.addPreferenceItem(CREATE_MOD_DATES_FORMAT,          createModDatesFormatField,            centerPanel);
		
		JScrollPane jsp = new JScrollPane(centerPanel);
		
		getContentPane().add(jsp, BorderLayout.CENTER);
		
		
		// Define the Bottom Panel
		JPanel bottomPanel = new JPanel();
		bottomPanel.setLayout(new FlowLayout());
		
		bottomPanel.add(buttonRestoreToGlobal);
		bottomPanel.add(buttonOK);
		bottomPanel.add(buttonCancel);
		
		getContentPane().add(bottomPanel,BorderLayout.SOUTH);
		
		
		// Set the default button
		getRootPane().setDefaultButton(buttonOK);
	}