OK, after some more research, I figured out what the behavior is. That doesn't necessarily make it right.
To wit:
does indeed set the bounds of a Frame--
but only when it's visible, regardless of whether it's realized.
It seems like
should behave like other GUI-rendering code, in that a call to
or
should be all that's necessary before doing size-related operations.