Bug 33550 [Dialogs] Dialog should support remembering size and position
There are several dialogs that remember its size and position. Since restore the size and considering screen size and font changes isn't trivial JFace's Dialog class should support remembering and restoring size and position. These would realy ease the task for subclasses. May be you can steel the code from OpenTypeSelectionDialog.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/Dialog.java
private static void applyDialogFont(Control control, Font dialogFont) {
        if (hasDefaultFont(control))
            control.setFont(dialogFont);
        if (control instanceof Composite) {
            Control[] children = ((Composite) control).getChildren();
            for (int i = 0; i < children.length; i++)
                applyDialogFont(children[i], dialogFont);
        }
    }
    /**
     * Return whether or not this control has the same font as it's default.
     * 
     * @param control
     *            Control
     * @return boolean
     */
    private static boolean hasDefaultFont(Control control) {
        FontData[] controlFontData = control.getFont().getFontData();
        FontData[] defaultFontData = getDefaultFont(control).getFontData();
        if (controlFontData.length == defaultFontData.length) {
            for (int i = 0; i < controlFontData.length; i++) {
                if (controlFontData[i].equals(defaultFontData[i]))
                    continue;
                return false;
            }
            return true;
        }
        return false;
    }
    /**