Bug 121949 [Wizards] The width of the button in the dialog of "Exitsting Projects into Workspace" doesn't extend when the dialog font is changed
The width of the button in the dialog of "Exitsting Projects into Workspace" doesn't extend when the dialog font is changed. The problem is included in the source code of the following packages. plug-in org.eclipse.ui.ide package org.eclipse.ui.internal.wizards.datatransfer class WizardProjectsImportPage I corrected it as follows; - The variables in createSelectionButtons method are changed to the field variables. -> private Button selectAllButton; -> private Button deselectAllButton; -> private Button refreshButton; - In createSelectionButtons method, The instances of the button ware stored into the fields. -> selectAllButton = new Button(buttonsComposite, SWT.PUSH); -> deselectAllButton = new Button(buttonsComposite, SWT.PUSH); -> refreshButton = new Button(buttonsComposite, SWT.PUSH); - In createControl method, setButtonLayoutData methods ware called after applyDialogFont method. createProjectsRoot(workArea); createProjectsList(workArea); Dialog.applyDialogFont(workArea); /*Add*/ setButtonLayoutData(selectAllButton); /*Add*/ setButtonLayoutData(deselectAllButton); /*Add*/ setButtonLayoutData(refreshButton);
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/WizardProjectsImportPage.java
* Answer a handle to the zip file currently specified as being the source.
	 * Return null if this file does not exist or is not of valid format.
	 */
	private ZipFile getSpecifiedZipSourceFile(String fileName) {
		if (fileName.length() == 0)
			return null;
		try {
			return new ZipFile(fileName);
		} catch (ZipException e) {
			displayErrorDialog(DataTransferMessages.ZipImport_badFormat);
		} catch (IOException e) {
			displayErrorDialog(DataTransferMessages.ZipImport_couldNotRead);
		}
		archivePathField.setFocus();
		return null;
	}
	/**
	 * Answer a handle to the zip file currently specified as being the source.
	 * Return null if this file does not exist or is not of valid format.
	 */
	protected TarFile getSpecifiedTarSourceFile() {
		return getSpecifiedTarSourceFile(archivePathField.getText());
	}
	/**
	 * Answer a handle to the zip file currently specified as being the source.
	 * Return null if this file does not exist or is not of valid format.
	 */
	private TarFile getSpecifiedTarSourceFile(String fileName) {
		if (fileName.length() == 0)
			return null;