|
INTERVIEW QUESTIONS
J2EE
JAVA SWING PROGRAMING
DETAILS
Question: What is an event and what are the models available for event handling?
Answer: Changing the state of an object is called an event. An event is an event object that describes a state of change. In other words, event occurs when an action is generated, like pressing a key on keyboard, clicking mouse, etc. There different types of models for handling events are event-inheritance model and event-delegation model
|
|
|
Category |
Java Swing Programing Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 8015 users |
Added on |
9/22/2014 |
Views |
65820 |
Rate it! |
|
|
Question:
What is an event and what are the models available for event handling?
Answer:
Changing the state of an object is called an event. An event is an event object that describes a state of change. In other words, event occurs when an action is generated, like pressing a key on keyboard, clicking mouse, etc. There different types of models for handling events are event-inheritance model and event-delegation model Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Which method is used for setting security in applets?
|
View Answer
|
|
When we should go for codebase in applet?
|
View Answer
|
|
Which method is used by the applet to recognize the height and width?
|
View Answer
|
|
What is the difference between applications and applets?
|
View Answer
|
|
Why should any swing call back implementation execute quickly?
|
View Answer
|
|
What is the What is the difference between invokeAndWait() and invokeLater()? ?
|
View Answer
|
|
Which method of the Component class is used to set the position and size of a component?
|
View Answer
|
|
Which containers use a FlowLayout as their default layout?
|
View Answer
|
|
What method is used to specify a container's layout?
|
View Answer
|
|
What is the preferred size of a component?
|
View Answer
|
|
Which containers use a border Layout as their default layout in swing?
|
View Answer
|
|
What is clipping?
|
View Answer
|
|
What is a layout manager?
|
View Answer
|
|
What is an event handler in swing?
|
View Answer
|
|
What is an event in Swing?
|
View Answer
|
|
What is double buffering ?
|
View Answer
|
|
What is lightweight component?
|
View Answer
|
|
What are heavyweight components ?
|
View Answer
|
|
What are the differences between Swing and AWT?
|
View Answer
|
|
What is AWT?
|
View Answer
|