
Signature
Andrew Thompson
http://www.physci.org/
Andrew, you sir, inspired me. May you rock as usual.
(a) A class that never needs a listener (i.e., that generates no
events).
Answer: ImageIcon
(b) A class that requires implementation of five listener methods.
Answer: MouserListener
(c) A class used only for output, never for input.
Answer: showMessageDialog
(d) A class that generates events from more than one event class.
Answer: JRadioButton - ActionEvent and ItemEvent
(e) A class with two different listener interfaces.
Answer: MouseEvent
Lew - 15 Dec 2007 18:35 GMT
> Andrew, you sir, inspired me. May you rock as usual.
He inspired you to do someone else's homework?

Signature
Lew
Roedy Green - 15 Dec 2007 18:44 GMT
On Sat, 15 Dec 2007 05:51:38 -0800 (PST), Ujjal Pathak
<ujjalpathak@gmail.com> wrote, quoted or indirectly quoted someone who
said :
>(a) A class that never needs a listener (i.e., that generates no
>events).
>Answer: ImageIcon
You stole that foolish newbie's chance at an education.
It is a bit like interfering with the physical therapy of a someone
recovering from a coma with emaciated legs. They NEED the exercise,
even if they are not keen just now to do it.

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
Joe Attardi - 16 Dec 2007 04:01 GMT
> (c) A class used only for output, never for input.
> Answer: showMessageDialog
showMessageDialog() is a method, not a class... :)
Lew - 16 Dec 2007 09:48 GMT
>> (c) A class used only for output, never for input.
>> Answer: showMessageDialog
>
> showMessageDialog() is a method, not a class... :)
Oh, dear, does that mean homework seekers will still have to think, and do
research to corroborate what the read?

Signature
Lew