This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Updaing the graphics object on mouse click

 
Ganesh kumar
Greenhorn
Posts: 9
  • 0
  • 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

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic