Setting component position


Is there a way to set a component’s position to its parent without setting its size? Set bounds requires both, and if I’m not resizing its kind of a pain to always pas the current size. Is there not a setPosition, setSize? Seems like they should be refactored into two methods?


Nevermind, I see it now, setTopleftPosition