A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
Swing / AWT / SWT
how to get location of mouse click with respect to picture?
Joined: Jan 28, 2008
May 23, 2008 09:13:00
i use a jlabel with image. i want when i click on image it give me location, where i click with respect to image not screen.
picture is also scroll able (big) .
please some body help me.
Joined: May 03, 2008
May 23, 2008 09:29:00
Events of a
added to the
will report mouse coordinates in the coordinates of the label.
There are no new questions, but there may be new answers.
I agree. Here's the link:
- it saves me about five hours per week
subject: how to get location of mouse click with respect to picture?
Thanks & How to
find application in market
jsp: Could not access the link from other machines
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013