Not exactly. The size (and location) of a component depends on the container in which you add the component:
a) if the container uses a layout manager or not.
and
b) if there is a layout manager,...