This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Who to believe? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Who to believe?" Watch "Who to believe?" New topic

Who to believe?


Joined: May 03, 2001
Posts: 3
Hi, all:
Are the following two questions the same? If so, which answer is correct? Thanks.

JQ+: Question: 952574499190
Q: What (if any) are the events that can only be handled using low-level event processing and cannot be handled by using the event listener model?
A: PaintEvent

Khalid A Mughal, A Programmer's Guide to Java Certification
Question 14.19, page 447.
Q: Are there any events that can be handled using low-level event processing, that otherwise could not be handled using the event listener model?
A: No.
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9056
public class PaintEvent
extends ComponentEvent

The component-level paint event. This event is a special type which is used to ensure that paint/update method calls are serialized along with the other events delivered from the event queue. This event is not designed to be used with the Event Listener model; programs should continue to override paint/update methods in order render themselves properly.

Believe Sun

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Valentin Crettaz
Gold Digger

Joined: Aug 26, 2001
Posts: 7610
could you please read the Javaranch Naming Policy and register again.
Thank you for your cooperation
Valentin Crettaz
Sun Certified Programmer for Java 2 Platform

[Blog] [Blogroll] [My Reviews] My Linked In
Have you checked out Aspose?
subject: Who to believe?
jQuery in Action, 3rd edition