File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Who to believe?" Watch "Who to believe?" New topic
Author

Who to believe?

hguan
Greenhorn

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

Harry
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
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
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

JavaBeginnersFaq
"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
Sheriff

Joined: Aug 26, 2001
Posts: 7610
hguan,
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


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Who to believe?
 
Similar Threads
Awt question - reg. Events
Listeners vs. Low-level processing
JQPlus - event question
about 'Void' class and 'PaintEvent'
JQ+ Question ID 952974499190