I have an applet that draws lines on a canvas. I´d
like to know if there´s a way I can know when the user
right-clicks in one of those lines.
Does a line has this kind of event? Can I
differentiate between two lines drawn on canvas?
BTW, I use this code to draw it:
canvas.drawLine(p1x,p1y,p2x,p2y);