Totel:91 Click:
1 2 3
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Swing Interview Questions And Answers
Page 3
Questions 11 What advantage do Java's layout managers provide over traditional windowing systems?
Answer
Java uses layout managers to lay out components in a consistent manner across all windowing platforms. Since Java's layout managers aren't tied to absolute sizing and positioning, they are able to accommodate platform-specific differences among windowing systems.
Questions 12 What is the relationship between clipping and repainting?
Answer
When a window is repainted by the AWT painting thread, it sets the clipping regions to the area of the window that requires repainting.
Questions 13 What is the difference between a Window and a Frame?
Answer
The Frame class extends Window to define a main application window that can have a menu bar. A window can be modal.
Questions 14 How the Canvas class and the Graphics class are related?
Answer
A Canvas object provides access to a Graphics object via its paint() method.
Questions 15 Which is the super class of all event classes?
Answer
The java.awt.AWTEvent class is the highest-level class in the AWT event-class hierarchy.
Goto Page:
1 2 3
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Swing Objective Questions And Answers
Swing Objective Questions And Answers
Swing Interview Questions And Answers
Swing Subjective Questions And Answers
R4R,Swing Objective, Swing Subjective, Swing Interview Questions And Answers,Swing,Swing Interview,Swing Questions ,Swing Answers