How to click on DrawableRectangle?


#1

I just create line with DrawableRectangle , and i want to click on it ... but i dont know how ...

 

pls help

thanks :D


#2

It's a Component like any other, so you can attach a mouse listener.