Java Swing Interview Questions and Answers - 2
Question: 6
What is the difference between the Font and FontMetrics classes?
The FontMetrics class is used to define implementation specific properties, such as ascent and descent of a Font object.
Question: 7
Which package has light weight component?
javax.Swing package contains light weight components.
All components in Swing, except JApplet, JDialog, JFrame and JWindow are lightweight components.
Question: 8
Name Container classes?
Window,
Frame,
Dialog,
FileDialog,
Panel,
Applet or ScrollPane.
Question: 9
Name the containers which use Border Layouts as their default layout?
Window, Frame and Dialog classes.
Question: 10
Which container method is used to cause a container to be laid out and redisplayed?
validate()
Related Questions
Recent Articles
Electrical Power Sources Quiz Questions & Answers More
Electromagnetic Field Theory Question Bank 2024-2025 More
Power Semiconductor Device and Integrated Circuits Questions More
Strength of Materials Questions and Answers Pdf More
Steam and Power Generation Quiz Questions & Answers Pdf More
Dc generator questions and answers pdf More
April-24-2024
| Meritnotes
Electromagnetic Field Theory Question Bank 2024-2025 More
April-23-2024
| Meritnotes
Power Semiconductor Device and Integrated Circuits Questions More
April-22-2024
| Meritnotes
Strength of Materials Questions and Answers Pdf More
April-21-2024
| Meritnotes
Steam and Power Generation Quiz Questions & Answers Pdf More
April-20-2024
| Meritnotes
Dc generator questions and answers pdf More
April-18-2024
| Meritnotes
Trending Posts
Extractive Metallurgy Interview Questions & Answers More
Top 100+ MS Word Quiz Questions and Answers More
Manufacturing Industries MCQs Questions for Class 10 Pdf More
7000+ TNPSC Botany & Zoology Previous Year Question Papers More
Important Computer Abbreviations for Bank Exams More
Speed, Time, Distance Important Formula, Shortcuts & Tricks Pdf More
February-25-2024
| Meritnotes
Top 100+ MS Word Quiz Questions and Answers More
December-05-2019
| Meritnotes
Manufacturing Industries MCQs Questions for Class 10 Pdf More
January-13-2024
| Meritnotes
7000+ TNPSC Botany & Zoology Previous Year Question Papers More
November-06-2023
| Meritnotes
Important Computer Abbreviations for Bank Exams More
August-28-2019
| Meritnotes
Speed, Time, Distance Important Formula, Shortcuts & Tricks Pdf More
December-15-2021
| Meritnotes