The methods required by the LayoutManager interface are used by Java's machinery for displaying containers. You never include calls to those methods in your programs.
LayoutManager