| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi Doug Zwick,
Although you can't easily capture mouse events on the desktop from Java, if you know these events are coming (e.g. you have a button/menu item for "capture desktop image" or "make screen snapshot" or some such thing), you could create a transparent, undecorated, always-on- top JFrame at the full size of the display, and capture mouse events on it. Once you have your events, you can close and dispose the JFrame. Such a frame would also give you a place to draw your drag effects.
Regards, Vijay
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.