Java Swing Programming Question:
Download Questions PDF

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

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?