A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Taking screenshot with java applet using java robot class not working
Sagar Singh B
Joined: Apr 18, 2011
Jul 06, 2011 01:27:37
I am using the
to take screenshot of the web browser using the java's robot class.
Robot objRobot = new Robot ();
objBufferedImage = objRobot.createScreenCapture(objRectArea);
The thing work good in windows system taking screenshot but in case of mac osx i get the blank image.When i check the event viewer in mac osx i get the following error.
invalid pixel format
CoreAnimation: rendering error 506
The problem is coming for all the browser safari,firefox and chrome.My applet is signed applet.
What might be the reason.An early reply is very valuable.
My machine configuration is as follows.
OS : MAC OSX
Version : 10.6.4
Madhan Sundararajan Devaki
Joined: Mar 18, 2011
Jul 19, 2011 03:23:23
I guess, this should boil down to the fact that, JDK for Mac OS has some bugs when it comes to
Not many get the right opportunity !
I agree. Here's the link:
subject: Taking screenshot with java applet using java robot class not working
Socket Permissions Problem using Java applet on Windows but not on Mac
Mac OSX Tomcat config
Taking screenshot of JSP page Using java
Auto-Install JAI on a mac
Taking screenshot using java robot class not woring when pc is locked.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015