Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Taking screenshot with java applet using java robot class not working
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="sagngh8" data-source="post: 1262036" data-attributes="member: 206936"><p>Hi Everyone,</p><p></p><p>I am using the java applet to take screenshot of the web browser using the java's robot class.</p><p>Robot objRobot = new Robot ();</p><p>BufferedImage objBufferedImage = objRobot.createScreenCapture(objRectArea); </p><p></p><p>The thing work good in windows system taking screenshot but in case of mac osx i get the blank image.When i check the </p><p></p><p>event viewer in mac osx i get the following error.</p><p></p><p>invalid context</p><p>invalid pixel format</p><p>CoreAnimation: rendering error 506</p><p></p><p>The problem is coming for all the browser safari,firefox and chrome.My applet is signed applet.</p><p></p><p></p><p>What might be the reason.An early reply is very valuable.</p><p></p><p>My machine configuration is as follows.</p><p></p><p>OS : MAC OSX</p><p>Version : 10.6.4</p><p></p><p>Thanks sagar.</p></blockquote><p></p>
[QUOTE="sagngh8, post: 1262036, member: 206936"] Hi Everyone, I am using the java applet to take screenshot of the web browser using the java's robot class. Robot objRobot = new Robot (); BufferedImage 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 context 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 Thanks sagar. [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Taking screenshot with java applet using java robot class not working
Top