Bug 177405 [Preferences] Layout issues with Text Boxes and Scrollbars
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java
return true;
		}
		if (currentPage != null) {
			if (!currentPage.okToLeave()) {
				return false;
			}
		}
		IPreferencePage oldPage = currentPage;
		currentPage = newPage;
		
		currentPage.setContainer(this);
		
		
		if (currentPage.getControl() == null) {
			final boolean[] failed = { false };
			SafeRunnable.run(new ISafeRunnable() {
				public void handleException(Throwable e) {
					failed[0] = true;
				}
				public void run() {
					createPageControl(currentPage, pageContainer);
				}
			});
			if (failed[0]) {
				return false;
			}
			
			
			
			Assert.isNotNull(currentPage.getControl());