A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Add mouselistener to an image
Demith Waruna Samaraweera
Joined: Sep 20, 2004
Jun 15, 2005 05:21:00
I have an application where a Label is added on a LScrollPannel and my
is loaded on to the
. I want add mouseMotionLisener to image loaded in the
, and also change the origin coordinates
Joined: Jul 11, 2001
Jun 15, 2005 07:29:00
You can't add it to the image. You have to add it to a component, like,
GenRocket - Experts at Building Test Data
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Add mouselistener to an image
QTCanvas (QuickTime) & java
Adding an Image to a Panel
Can i add an image directly to a JLabel or JWindow?
Transparent Swing components?
Image in JTable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015