Setting component position


#1

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?


#2

Nevermind, I see it now, setTopleftPosition


#3