aspose file tools*
The moose likes Applets and the fly likes Screen Capture using Applet ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Screen Capture using Applet ?" Watch "Screen Capture using Applet ?" New topic
Author

Screen Capture using Applet ?

Waqas Tariq
Greenhorn

Joined: Nov 15, 2007
Posts: 17
sweet hello to all

i m newbie to java Applets and this Forum as well.
Please, any one tell me that how can i capture the client screen using 'awt.Robot.createScreenCapture' while writing this code inside myh applet and sends the resultant image to http webserver.

i have tried it, but some security issues in java Applets throws 'jawa.AWTPermission' exception.. i don't know how to get permissions from client before his/her screen capture.

I want to implement Desktop Sharing in LAN.
waiting....
best wishes
Waqas Dar
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39551
    
  27
Welcome to JavaRanch.

Because taking a screenshot captures potentially sensitive data, applets are not by default allowed to do that. The way around that is to digitally sign the applet, or have the user alter the local security policy. Both methods are described in HowCanAnAppletReadFilesOnTheLocalFileSystem


Ping & DNS - updated with new look and Ping home screen widget
Waqas Tariq
Greenhorn

Joined: Nov 15, 2007
Posts: 17
i am going to check it.

Bundle of Thanks, in advance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Screen Capture using Applet ?
 
Similar Threads
ScreenCapture
Printing the applet screen
Repaint and ComponentListener
How to Active Screen Capture
Java & images