Reputation: 19
What is the best way to make all the coordinates in an area as on object, I need it for MouseListener
so that when I click on an area that area gets repainted?
Upvotes: 1
Views: 108
Reputation: 205805
java.awt.geom.Area
, which conveniently implements the Shape
interface, is a good choice.
Upvotes: 0