Specifications

Sun Services
Java™ Programming Language
Module 10, slide 7 of 37
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
Positioning Components
The position and size of a component in a container is
determined by a layout manager.
You can control the size or position of components by
disabling the layout manager.
You must then use setLocation(), setSize(),or
setBounds() on components to locate them in the
container.