LAYOUT MANAGERS Object Oriented Programming Advanced Object-Oriented Concepts (Part 1) Kinds of Layout Managers CardLayout Use when you need to add components that are displayed…