Bug 42143 Dialogs for source actions do not use dialog font [dialogs]
select a cu in package explorer context menu "Source": "Override/Implement methods..." "Generate Getters and Setters..." "Generate Delegate methods..." "Add constructor from superclass..." "Generate constructor using fields..."
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SourceActionDialog.java
private final String SYNCHRONIZED_MODIFIER= "SynchronizedModifier"; 
	public SourceActionDialog(Shell parent, ILabelProvider labelProvider, ITreeContentProvider contentProvider, CompilationUnitEditor editor, IType type) {
		super(parent, labelProvider, contentProvider);
		fEditor= editor;
		fContentProvider= contentProvider;		
		fType= type;
		fCommentString= ActionMessages.getString("SourceActionDialog.createMethodComment"); 
		
		
		CodeGenerationSettings settings= JavaPreferencesSettings.getCodeGenerationSettings();
		fGenerateComment= settings.createComments;		
		IDialogSettings dialogSettings= JavaPlugin.getDefault().getDialogSettings();
		fSettings= dialogSettings.getSection(SETTINGS_SECTION);		
		if (fSettings == null)  {
			fSettings= dialogSettings.addNewSection(SETTINGS_SECTION);
			fSettings.put(VISIBILITY_MODIFIER, Modifier.PUBLIC); 
			fSettings.put(FINAL_MODIFIER, false); 
			fSettings.put(SYNCHRONIZED_MODIFIER, false); 
			fSettings.put(SETTINGS_INSERTPOSITION, 1); 
		}
		try {
			fVisibilityModifier= fSettings.getInt(VISIBILITY_MODIFIER);
			fFinal= fSettings.getBoolean(FINAL_MODIFIER);
			fSynchronized= fSettings.getBoolean(SYNCHRONIZED_MODIFIER);
			fInsertPosition= fSettings.getInt(SETTINGS_INSERTPOSITION);
		} catch (NumberFormatException e) {
			fSettings= dialogSettings.addNewSection(SETTINGS_SECTION);
			fSettings.put(VISIBILITY_MODIFIER, Modifier.PUBLIC); 
			fSettings.put(FINAL_MODIFIER, false); 
			fSettings.put(SYNCHRONIZED_MODIFIER, false);