| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Rob Eden wrote:
I'm trying to take screen shots using java.awt.Robot, but not having the best of luck on dual monitors setups. When I do so, the image from the second screen is all black.
I'm assuming this is a bug, but before I filed one, I figured I'd let you guys take a look to make sure I'm not doing anything silly.
Example:
Robot robbie = new Robot(devices[i]);
Rectangle bounds = new Rectangle (config.getBounds());
if ( !OSX_10_2 && ! (OSX_10_3_PLUS && JAVA_14_PLUS))
bounds.x = bounds.y = 0;
images[i] = robbie.createScreenCapture (bounds);
_______________________________________________
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.