Broke up the last line to fix the scrolling .. Jane I only choose option 1 because, to me, statement 4 does not make any sense. I know that you can construct a new MouseEvent with a constructor that takes a parameter as the time of the event. I don't know how to extract anything from a constructor. I think that if you want the time of the click you should call getWhen() in the MouseEvent. Also the explanation seems to be wrong. Perhaps this is a typo, or it is getting really late for me.
[This message has been edited by Jane Griscti (edited October 04, 2001).]
Hi Stewart, You may be right. You can get the time of the event using getWhen(). Perhpas Marcus meant to point out that the time of the event is passed to the MouseEvent object when it is created. ------------------ Jane Griscti Sun Certified Programmer for the Java� 2 Platform
Janes assumption is correct, my question is misleading. How about this for a modified option 4 4) The time of a MouseEvent can be extracted using the getWhen method What do you think? Marcus ------------------ http://www.jchq.net Mock Exams, FAQ, Tutorial, Links, Book reviews ================================================= Almost as good as JavaRanch =================================================