File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
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 image 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 - A Test Data Generation Platform
I agree. Here's the link:
subject: Add mouselistener to an image
QTCanvas (QuickTime) & java
Image in JTable
Can i add an image directly to a JLabel or JWindow?
Transparent Swing components?
Adding an Image to a Panel
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014