Bug 270174 [Wizards] Wizard's 'Finish' button is misaligned if there are multiple pages and it cannot be finished early
Build id: I20090325-1135 1. File > New > Other... 2. See that the 'Finish' button is at the end of the button bar. 3. Window > Preferences > Java > Installed JREs 4. Click the 'Add...' button. 5. See that the 'Finish' button is not the last button. 6. Close the dialog. 7. Select an existing JRE. 8. Click 'Edit...'. 9. See that the 'Finish' button is at the end of the button bar. I snooped around the code but couldn't quite figure out what was wrong. :o
bundles/org.eclipse.jface/src/org/eclipse/jface/wizard/WizardDialog.java
private String pageDescription;
	
	private ProgressMonitorPart progressMonitorPart;
	private Cursor waitCursor;
	private Cursor arrowCursor;
	private MessageDialog windowClosingDialog;
	
	private Button backButton;
	private Button nextButton;
	private Button finishButton;
	private Button cancelButton;
	private Button helpButton;
	private SelectionAdapter cancelListener;
	private boolean isMovingToPreviousPage = false;
	private Composite pageContainer;
	private PageContainerFillLayout pageContainerLayout = new PageContainerFillLayout(
			5, 5, 300, 225);
	private int pageWidth = SWT.DEFAULT;
	private int pageHeight = SWT.DEFAULT;
	private static final String FOCUS_CONTROL = "focusControl"; 
	private boolean lockedUI = false;
	private ListenerList pageChangedListeners = new ListenerList();
	private ListenerList pageChangingListeners = new ListenerList();
	/**
	 * A layout for a container which includes several pages, like a notebook,
	 * wizard, or preference dialog. The size computed by this layout is the
	 * maximum width and height of all pages currently inserted into the
	 * container.
	 */
	protected class PageContainerFillLayout extends Layout {