Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Taking screenshot with java applet using java robot class not working

873616Jul 6 2011 — edited Jul 6 2011
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

Is that a system level issue , java plugin issue?I'am confused with this error.

Thanks sagar.

Comments

Pruthivi

Hello,
A small correction.
Through custom SSO login we have to access our ADF application. Through the adf login page we are able to open custom login page. Now from this custom SSO page we have to directly land on to the application's home page or other resources in application but instead we are again landing on to the adf application's login page. So how to achieve this configuration?

Pruthivi

Hi,
If I'm getting redirected to the application's home page or any other resources then how could we identify the user's ID and groups since users are trying to login from custom SSO page and not from adf application's login page?

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 3 2011
Added on Jul 6 2011
3 comments
1,223 views