Java Swing Interview Questions and Answers
Test your skills through the online practice test: Java Swing Quiz Online Practice Test
Ques 11. What is clipping?
Clipping is the process of confining paint operations to a limited area or shape.
Is it helpful?
Add Comment
View Comments
Ques 12. Which containers use a border Layout as their default layout in swing?
The window, Frame and Dialog classes use a border layout as their default layout.
Is it helpful?
Add Comment
View Comments
Ques 13. What is the preferred size of a component?
The preferred size of a component is the minimum component size that will allow the component to display normally.
Is it helpful?
Add Comment
View Comments
Ques 14. What method is used to specify a container's layout?
The setLayout() method is used to specify a container's layout.
Is it helpful?
Add Comment
View Comments
Ques 15. Which containers use a FlowLayout as their default layout?
The Panel and Applet classes use the FlowLayout as their default layout.
Is it helpful?
Add Comment
View Comments
Most helpful rated by users:
- Why does it take so much time to access an Applet having Swing Components the first time?
- What's Java Swing?
- What are the differences between Swing and AWT?
- What is JFC?
- What is AWT?