Java Swing Interview Questions and Answers
Ques 6. What is lightweight component?
A lightweight component is one that "borrows" the screen resource of an ancestor (which means it has no native resource of its own -- so it's "lighter").
Ques 7. What is double buffering ?
Double buffering is the process of use of two buffers rather than one to temporarily hold data being moved to and from an I/O device. Double buffering increases data transfer speed because one buffer can be filled while the other is being emptied.
Ques 8. What is an event in Swing?
Changing the state of an object is called an event.
Ques 9. What is an event handler in swing?
An event handler is a part of a computer program created to tell the program how to act in response to a specific event.
Ques 10. What is a layout manager?
A layout manager is an object that is used to organize components in a container.
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?