TopContainersLayout Managers

Layout Managers

  1. BorderLayout (Default for WindowController)

    Constructor:

    new BorderLayout ()
    
  2. FlowLayout (Default for JPanel)

    Constructor:

    new FlowLayout ()
    
  3. GridLayout

    Constructors:

    new GridLayout (int rows, int cols)
    
    new GridLayout (int rows, int cols, int colSpacing, int rowSpacing)
    

TopContainersLayout Managers