Bug 33130 Type Selection Dialog maintains sizes
RC1 If you start Eclipse in the default (Tahoma 8) font and then change the Dialog font the next time the Type selection dialog is opened it will be cut off STEPS 1) Start Eclipse with default fonts 2) Open a Type Selection Dialog 3) Change the Dialog font 4) Open again - it will be sized based on the last selection
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/OpenTypeSelectionDialog.java
*/
	private void readSettings() {
		IDialogSettings s= getDialogSettings();
		try {
			Shell shell= getShell();
			int x= s.getInt("x"); 
			int y= s.getInt("y"); 
			shell.setLocation(x, y);
			int width= s.getInt("width"); 
			int height= s.getInt("height"); 
			shell.setSize(width, height);
		} catch (NumberFormatException e) {
			fLocation= null;
			fSize= null;
		}
	}
	/**
	 * Stores it current configuration in the dialog store.
	 */
	private void writeSettings() {
		IDialogSettings s= getDialogSettings();
		Point location= getShell().getLocation();
		s.put("x", location.x); 
		s.put("y", location.y); 
		Point size= getShell().getSize();
		s.put("width", size.x); 
		s.put("height", size.y); 
	}
}