As a follow up to Greg comment, the full solution is:
@Override protected Point getInitialSize() { updateSize(); return super.getInitialSize(); }