using the correct layoutManager/s (often nested) usually gets you what you want with location.
Absolute positioning (null layout) lets you specify location, but then you are also responsible for sizing components and allowing for different user options e.g. font/resolution/resizing etc etc. All this is handled by the layoutManager, so using a null layoutManager is rarely recommended.
look! it's a bird! it's a plane! It's .... a teeny tiny ad