Bug 31395 Child window of Preferences dialog centers between screens
On the Preferences->Java->Code Generation->Names tab, the Edit button opens a dialog that is split between multiple monitors, instead of centering on the main Preference window like the rest of its child windows do.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CompilerConfigurationBlock.java
String label= PreferencesMessages.getString("CompilerConfigurationBlock.pb_incomplete_build_path.label"); 
		addComboBox(combos, label, PREF_PB_INCOMPLETE_BUILDPATH, errorWarning, errorWarningLabels, 0);	
		
		label= PreferencesMessages.getString("CompilerConfigurationBlock.pb_build_path_cycles.label"); 
		addComboBox(combos, label, PREF_PB_CIRCULAR_BUILDPATH, errorWarning, errorWarningLabels, 0);
		label= PreferencesMessages.getString("CompilerConfigurationBlock.pb_duplicate_resources.label"); 
		addComboBox(combos, label, PREF_PB_DUPLICATE_RESOURCE, errorWarning, errorWarningLabels, 0);
		Composite textField= new Composite(othersComposite, SWT.NULL);
		gd= new GridData(GridData.FILL | GridData.GRAB_HORIZONTAL);
		gd.horizontalSpan= 2;
		textField.setLayoutData(gd);
		cl= new GridLayout();
		cl.numColumns=2; cl.marginWidth= 0; cl.marginHeight= 0;
		textField.setLayout(cl);
		
		gd= new GridData();
		gd.widthHint= fPixelConverter.convertWidthInCharsToPixels(6);
		
		label= PreferencesMessages.getString("CompilerConfigurationBlock.pb_max_per_unit.label"); 
		Text text= addTextField(textField, label, PREF_PB_MAX_PER_UNIT, 0, 0);
		text.setTextLimit(6);
		text.setLayoutData(gd);
		
		label= PreferencesMessages.getString("CompilerConfigurationBlock.build_invalid_classpath.label"); 
		addCheckBox(othersComposite, label, PREF_BUILD_INVALID_CLASSPATH, abortIgnoreValues, 0);
		label= PreferencesMessages.getString("CompilerConfigurationBlock.build_clean_outputfolder.label"); 
		addCheckBox(othersComposite, label, PREF_BUILD_CLEAN_OUTPUT_FOLDER, cleanIgnoreValues, 0);
		
		description= new Label(othersComposite, SWT.WRAP);
		description.setText(PreferencesMessages.getString("CompilerConfigurationBlock.resource_filter.description"));