Java2D: Capturing an event on a Line object
Posted
by Algorist
on Stack Overflow
See other posts from Stack Overflow
or by Algorist
Published on 2010-05-14T14:41:21Z
Indexed on
2010/05/14
16:54 UTC
Read the original article
Hit count: 266
I have a JPanel which has a line, circle etc..Now when I click on the line, will the event get reported as a line event or a general jframe event. I need to be able to move the line, if the user clicks on the line and moves it. Is this possible in Java2d.
Thank you.
© Stack Overflow or respective owner