Solved

In the RubberLinesPanel Example in the Text a Single LineListener

Question 31

Essay

In the RubberLinesPanel example in the text a single LineListener class was defined, implementing both MouseListener and MouseMotionListener. What are the advantages and disadvantages of this approach compared to defining two separate classesone for each kind of Mouse Events?

Correct Answer:

verifed

Verified

It makes sense to define two separate cl...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions