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
REST with Spring (video course)
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
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
I agree. Here's the link:
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