Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. 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