What Is The Use Of SetLayout () Method?

What Is The Use Of SetLayout () Method? The setLayout(…) method allows you to set the layout of the container, often a JPanel, to say FlowLayout, BorderLayout, GridLayout, null layout, or whatever layout desired. The layout manager helps lay out the components held by this container. What are the uses of layout managers? The Layout