• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Updaing the graphics object on mouse click

 
Ganesh kumar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am drawing some lines on J Panel. On clicking any particular line i am trying to change the background
of the line with rectangle to give some high lighting effect. I am able to get the coordinates correctly.
But what ever i am trying in the mouse click event in not reflecting in the panel.I have placed the abstract
piece of code.Kindly let me know whats the mistake i am doing.Thank you.

Code Flow

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic