Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 381 Page Views: 

What is the purpose of the enableEvents() method?



Posted By: Avi Date: 9 November 2010 05:50:54 AM
 Answer:

The enableEvents() method is used to enable an event for a particular object. Normally, an event is enabled when a listener is added to an object for a particular event. The enableEvents() method is used by objects that handle events by overriding their event-dispatch methods.


Posted By: avibtech


Date: 9 November 2010 05:50:54 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image Q3i0mk
Related Questions
Core Java : What is the disadvantage of garbage collection?

What is the disadvantage of garbage collection?

It adds an overhead that can affect performance and there is no guarantee that the object will be ga....
Category: Core Java Date: 11/8/2010 12:56:51 AM
Core Java : What modifiers may be used with a top-level class?

What modifiers may be used with a top-level class?

A top-level class may be public, abstract, or final.
Category: Core Java Date: 11/8/2010 12:12:55 AM
Core Java : What is the Runtime class?

What is the Runtime class?

The Runtime class is a class which provide access to the Java runtime system
Category: Core Java Date: 11/7/2010 11:52:48 PM
Core Java : If a method is declared as protected, where may the method be accessed?

If a method is declared as protected, where may the method be accessed?

A protected method may only be accessed by classes or interfaces of the same package or by subclasse....
Category: Core Java Date: 11/7/2010 11:40:54 PM
Core Java : How are Observer and Observable used?

How are Observer and Observable used?

Objects that subclass the Observable class maintain a list of observers. When an Observable object i....
Category: Core Java Date: 11/7/2010 11:08:52 PM