What enableEvents() method do?

Answer Posted / ramesh

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.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define an applet in java?

632


Under what conditions is an object’s finalize() method invoked by the garbage collector?

580


What is difference between final and finally in java?

587


What are keywords and reserved words in java?

562


What is a flag and how does it work?

511






Implement a stack with push (), pop() and min() in O(1) time.

638


What is mean by collections in java?

567


What super () does in java?

486


What is array initialization in java?

497


Considering notepad/ie or any other thing as process, what will happen if you start notepad or ie 3 times? Where 3 processes are started or 3 threads are started?

657


What is string in java is it a data type?

539


What happens when a thread cannot acquire a lock on an object in java programming?

553


Explain the term virtual machine?

592


What are the methods available in a class?

588


how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)

1909