Java Swing Programming Question:

Download Job Interview Questions and Answers PDF

What method is used to specify a container's layout?

Java Swing Programming Interview Question
Java Swing Programming Interview Question

Answer:

The setLayout() method is used to specify a container's layout.

Download Java Swing Programming Interview Questions And Answers PDF

Previous QuestionNext Question
What is the preferred size of a component?Which containers use a FlowLayout as their default layout?