What is a LayoutManager?

When you add a component to an applet or a container, the container uses its layout manager to decide where to put the component. Different LayoutManager classes use different rules to place components.

java.awt.LayoutManager is an interface. Five classes in the java.awt package implement it:

plus javax.swing.BoxLayout


Next | Top | Cafe au Lait

Copyright 1997, 2002, 2006 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified August 20, 2006