Java Swing Programming Interview Questions

 
1.
What's Java Swing?
2.
What is JFC?
3.
What is AWT?
4.
What are the differences between Swing and AWT?
5.
What are heavyweight components ?
6.
What is lightweight component?
7.
What is double buffering ?
8.
What is an event in Swing?
9.
What is an event handler in swing?
10.
What is a layout manager?
11.
What is clipping?
12.
Which containers use a border Layout as their default layout in swing?
13.
What is the preferred size of a component?
14.
What method is used to specify a container's layout?
15.
Which containers use a FlowLayout as their default layout?
16.
Which method of the Component class is used to set the position and size of a component?
17.
What is the What is the difference between invokeAndWait() and invokeLater()? ?
18.
Why should any swing call back implementation execute quickly?
19.
What is an applet?
20.
What is the difference between applications and applets?
21.
Which method is used by the applet to recognize the height and width?
22.
When we should go for codebase in applet?
23.
What is the lifecycle of an applet?
24.
Which method is used for setting security in applets?
25.
What is an event and what are the models available for event handling?
26.
What are the advantages of the event-delegation model over the event-inheritance model?