Capture Screen by Applet

Hi friends
I wanna take "print screen" of client screen when user will click on the button on applet.. and applet is into somewhere in web-page. and save that captured screen as a image.
i want to do it without using any certificate or digitally sign...
I have used following code in swing, it is working fine but for applet it throwing error....
:::CODE:::
Robot robot = new Robot();
BufferedImage screencapture = robot.createScreenCapture(new Rectangle(Toolkit.getDefaultToolkit().getScreenSize()));
File file = new File("screencapture.jpg");
ImageIO.write(screencapture, "jpg", file);
Is there any other way to do the same...

mackOS wrote:
Hi friends
I wanna take "print screen" of client screen when user will click on the button on applet.. and applet is into somewhere in web-page. and save that captured screen as a image.OK. If I was a user of your Applet I would be pissed off it you did this. Even if you asked for permission from me I would not allow it.
>
i want to do it without using any certificate or digitally sign...You can't .
>
I have used following code in swing, it is working fine but for applet it throwing error....
:::CODE:::
Robot robot = new Robot();
BufferedImage screencapture = robot.createScreenCapture(new Rectangle(Toolkit.getDefaultToolkit().getScreenSize()));
File file = new File("screencapture.jpg");
ImageIO.write(screencapture, "jpg", file);
Is there any other way to do the same...No - thank goodness.
Do you really think it makes security sense for an Applet to be able to do this?

Similar Messages

  • Unable to capture screen fields in eCATT

    Problem description 1 : Unable to capture screen fields in eCATT
    Recording using SAP GUI Method.
    Problem description 2 :Unable to capture Tab controls while recording
    in eCATT using SAP GUI Method.
    Thaks for any suggestion you could provide me and once again for your courtesy attention.
    Regards,
    Eric Monteiro

    Hi Phani,
    Please try below code:
    *data declaration for reading values given by user in the selection screen field.
      DATA: BEGIN OF i_tab OCCURS 0.
              INCLUDE STRUCTURE rsselread.
      DATA: END OF i_tab.
      MOVE: 'LOGSYS' TO i_tab-name,
            'P' TO i_tab-kind. u201CP For parameter
      APPEND i_tab.
      MOVE: 'GP_SIMVE' TO i_tab-name,
            'P' TO i_tab-kind. u201CCheck if field is Parameter
      APPEND i_tab.
    *move program name and screen number into local variable.
      l_prog = sy-repid. u201C(Try by directly passing program name also)
      l_dynnr = sy-dynnr. u201C(Try by directly passing Screen number also)
    *calling function module to get the value given by user.
      CALL FUNCTION 'RS_SELECTIONSCREEN_READ'
        EXPORTING
          program     = l_prog
          dynnr       = l_dynnr
        TABLES
          fieldvalues = i_tab.
    Hope this should slove your issue.
    Thanks & Regards,
    Gaurav.

  • How to capture screen in iOS 7?

    Hi!
    I can't make any screen capture on mi iPhone 5 with iOS7 running. When I try to press HOME and ON/OFF button, the iPhone go to lock mode and nothing else happends.
    How can i capture screens?
    Thank you so much.

    Your best move would have been not to have updated to beta software that's not on public release yet......

  • Re: capturing screen resolution in JSP or servlet

    "Mike Tickle" <[email protected]> wrote ...
              > Is it possible to capture screen resolution in JSP or a Servlet? I can
              > currently do it in JavaScript and write the result in to a cookie that a
              > servlet can read, but is there a better solution.
              > Is it possible to get the time zone of a visitor using JSP or servlets?
              > Can JSP or servlets determine if a visitor has scrolled the page to view
              all
              > of it?
              You seem to be very confused about what servlets and JSPs are. These are
              things that run on the server and generate HTML. They can't possibly know
              if a user has scrolled the page, because the user hasn't seen the page yet
              when they are run. If they tried to read screen resolution, they'd get the
              screen resultion for the graphics subsystem on the server, or an exception
              if one isn't available (eg, there is no X display set).
              For these kinds of client interaction tasks, JavaScript is probably still
              your best option.
              Chris Smith
              

    Hey all you non-ASP programmers, here's the deal. Microsoft has a Browser
              Capabilities component and they have defined a special way for you to
              populate a specially named cookie on the client side that will then allow
              the component to pick up what you sent it. In the ASP script, you then use
              the component. Behind the scenes, it works exactly like what you guys
              imagine, but Microsoft provides the format for sending the information and
              the parsing.
              The client side script does need to be written to include the information
              you want, but it would typically be written once and hidden by the lead
              programmer in a common include file where most programmers never had to
              think about it and thus might think it happened automatically.
              If you're really curious, here's an MSDN link to the details:
              http://msdn.microsoft.com/library/psdk/iisref/comp1vol.htm.
              Rick Joi, former ASP developer
              [email protected]
              www.rickanddonna.com/ips
              "Chris Smith" <[email protected]> wrote in message
              news:[email protected]...
              > "Mike Tickle" <[email protected]> wrote ...
              > > > You seem to be very confused about what servlets and JSPs are.
              > >
              > > I am quite familiar with servlets as I have been using them for 6 months
              > as
              > > part of a uni project. I had the presentation yesterday and the
              moderator
              > > asked why I used JavaScript to determine time zone and screen res. I
              said
              > > JSP/Servlets can not do it as they are server side and he seemed
              confused.
              >
              > Okay. Apologies if I was condescending. Such things happen in newsgroups
              > where I have no idea what your background is.
              >
              > > Apparently ASP can do it. So against my better judgement I thought I
              > would
              > > ask in case I was wrong.
              >
              > I'm surprised if ASP can do it... I can't imagine how that occurs. I
              agree
              > with Jeff, especially after reading the URL he provided; it appears the
              > moderator was just plain wrong, or that there are only very non-portable
              > solutions for IE only.
              >
              > > I currently write the time zone and screen resolution in to a session
              > cookie
              > > so that it can be read every time the servlet is run. Is there a better
              > way
              > > than this?
              >
              > Seems to me like the best way to me.
              >
              > Chris Smith
              >
              >
              >
              

  • Capturing screen resolution in JSP or servlet

    Is it possible to capture screen resolution in JSP or a Servlet? I can
              currently do it in JavaScript and write the result in to a cookie that a
              servlet can read, but is there a better solution.
              Is it possible to get the time zone of a visitor using JSP or servlets?
              Can JSP or servlets determine if a visitor has scrolled the page to view all
              of it?
              Thanks for any help
              Mike
              

    You have to remember JSPs/Servlets run on the server. They can only
              manipulate information that you explicitely pass to them or information
              passed by HTTP. You could pass this information, gathered by JavaScript,
              through a POST or GET method.
              Jim
              "Mike Tickle" <[email protected]> wrote in message
              news:9d8rut$fr4$[email protected]..
              > Is it possible to capture screen resolution in JSP or a Servlet? I can
              > currently do it in JavaScript and write the result in to a cookie that a
              > servlet can read, but is there a better solution.
              > Is it possible to get the time zone of a visitor using JSP or servlets?
              > Can JSP or servlets determine if a visitor has scrolled the page to view
              all
              > of it?
              > Thanks for any help
              >
              >
              >
              >
              > Mike
              >
              >
              

  • Can I automate 'Capture screen' on a remote Mac in Apple Remote Desktop?

    Subject says it all really, I need to find a way to automate screen capture on an an ARD managed Mac.
    Is it possible to automate 'Capture screen' on a remote Mac in ARD 3.3.2?
    Cheers
    Phil

    You can cron or otherwise automate the following command:
    screencapture -x silentscreenshot.jpg
    The x switch means the machine will not play the shutter sound.
    HTH!
    Ryan

  • Capture Screen in SAP

    Hi,
    can you ppl help in this thing.How to capture screen from SAP and store it in the presentation server(any given path).Is it possible to do that.
    Kind Regards.

    Hi,
    I think there is no any such FM or functionality you can done with ABAP, but i hope you can try using some external screen capture application and call that from ABAP to capture screen.
    See EXECUTE Method of  class CL_GUI_FRONTEND_SERVICES which may help you.
    Regards
    Karthik D

  • Save capture screen.

    //get the file name and it's path from the user's input.
    JFileChooser jFileChooser = new JFileChooser();
    jFileChooser.setDialogTitle("Save Screen Dialog Box");
    jFileChooser.showSaveDialog(null);
    fileNamePath = jFileChooser.getSelectedFile().getCanonicalPath();
    String fileName = jFileChooser.getSelectedFile().getName();
    BufferedImage rectangle;
    Robot robot = new Robot();
    rectangle = robot.createScreenCapture(new Rectangle(Toolkit.getDefaultToolkit().getScreenSize()));
    OutputStream os = new FileOutputStream(fileNamePath);
    JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(os);
    encoder.encode(rectangle);
    Any one know any function to delay system or somthing that i can fix my bug.
    The code above when i save the capture screen then the save dialog is captured too,
    but i dont want it capture the dialog , just capture only screen.
    i try some function like sleep(2000) before i capture but dont help , any one have any idea please help me out,
    thank you very much .
    Jenny,.

    I think the problem might be that the frame hasn't had time to repaint itself before the Robot starts.
    From the Robot API I see the following method:
    public void waitForIdle() - Waits until all events currently on the event queue have been processed
    There is also a delay() method that might do something.
    This is just a guess, I haven't tested it.

  • I have been using GRAB to capture screen displays.  It has just stopped working since the last OSX Upgrade.  Can anyone, please help restore functionality?

    I have been using GRAB to capture screen displays.  It has just stopped working since the last OSX Upgrade.  Can anyone, please help restore functionality?

    Thanks for that.  I did as suggested but when I tried again, it still did not work.  Another  com.apple.Grab.plist appeared in the Library.
    I now have the following files in Library
    file://localhost/Users/peterpatel/Library/Preferences/com.apple.Grab.LSSharedFil eList.plist
    file://localhost/Users/peterpatel/Library/Preferences/com.apple.Grab.LSSharedFil eList.plist.lockfile
    file://localhost/Users/peterpatel/Library/Preferences/
    file://localhost/Users/peterpatel/Library/Preferences/com.apple.Grab.plist.lockf ile
    What do you suggest I do now?

  • Capturing screen shots in iMovie

    Hi,
    I want to capture screen shots of my movie in iMovie to have still images from different scenes to then edit in photoshop. Is this possible, or do I need to get specific software for that? Does anybody know how to capture screen shots from an iMovie?
    Thanks,
    quadruple

    Position your cursor where you want the still.
    Right-click and select ADD STILL TO PROJECT
    You will see the still added to the en of your project.
    Now right-click on the still and select SHOW IN FINDER
    In the finder, right click on the still JPEG file and select COPY.
    Now you can paste the still onto your desktop or a folder of your choice and import into iPhoto or Photoshop.
    If you don't want to clutter your video project with stills at the end, you can start a new project for just the stills. Then you place the cursor within your EVENT at the point you want a still. Then Right-click and select ADD Still TO PROJECT. This keeps things tidy.

  • Premiere CS4 capture screen won't open

    I was capturing video from mini DV tapes. after 7 tapes of capture, Premiere CS4 capture screen wouldn't open. I had the thing working fine and for some unknown reason the capture screen quit opening. .I've tried restarting the program restarting the computer, I've clicked on the file drop down menu and clicked capture, I've pressed f5.... NOTHING IS WORKING! ARRRRH!!!! Any hep will be appreiciated,?
    Thank you in advance,
    Mel, aka magicmel

    Hi Mel,
    I also have this problem, I got around it by using video DVD maker (http://www.protectedsoft.com/) (chose the 'capture' option) and then editing the avi in premier (cs4). This works fine.
    A little additional info on my problem:
    I am also using mini DV tapes and capturing through a USB, using windows vista 32bit. I do this every day and it has been fine for a year, but suddenly one day it didn’t want to. At first the capture window would open but 'capture device offline' would show, even with the mini dv plugged in and switched on, tape running/paused/stopped. After clicking on the window, it would then turn black, then white and then freeze. Trying to close the capture window by clicking the red 'x' would crash premier, prompting window's 'this programme is not responding' window that meant that a crash report would not be generated.
    As I have said before the usb cable and mini dv are fine as I have successfully managed to capture through another programme. I have also since run the adobe updater which has updated all my adobe software. I have restarted the programme, computer, opened old projects, started new ones and all have not been successful in making any change in the capture crash.
    I remember this happening on my old laptop, and it was solved by just waiting for the programme to respond after 5-7mins. I guess this was to do with the computer being low spec. However This same waiting game does not have any effect on my current laptop, I have waited for 30mins and thought that was enough, the current computer I am using has been absolutely fine for about a year, so why the problems suddenly?
    Only things I can think of that have been changed recently on my laptop are: re-install of windows service pack 2, firewall modifications.
    However the rest of the premier programme works fine, rendering, effects, exporting etc.
    Hope this helps someone!

  • Black capture screen in Win 7 unless aero themes are turned on

    I have discovered through trial and error that unless I disable Aero themes on my powerful Windows 7 laptop, my captures always seem to drop a frame or two despite the souped-up resources I have (super fast processor, 16GB RAM, capturing to second hard drive,etc).  By the way, I am capturing through firewire from a Canon XL2 (DV) camera.
    However, on other machines on which I have older versions of Premiere Pro installed, I can do this automatically by right clicking on my desktop Premiere Pro icon, choosing the compatibility tab, and putting a check in the "disable desktop composition" tab.  This basically toggles Aero off as soon as Premiere Pro starts loading, and toggles it back on when I close it.  But this has never worked with Premiere Pro CS6.  I have always had to manually disable Aero even though I have supposedly disabled it through the said compatibility tab of Premiere Pro CS6. 
    That's never been a major problem until now.  Now, if PP CS6 is open and aero themes are disabled, I get a black capture screen (I can hear the audio but the capture screen is completely black).  But as soon as I toggle aero back on, the capture screen again displays video normally.  So, basically, if I intend to capture with PP CS6, I am forced into leaving Aero themes on so that I can monitor my capture, but if I do so, I drop frames.  Infuriating.
    This seems to be a similar problem to the one I had a few months ago, "I get a black capture screen (preview), but video captures fine.  What gives?"
    I got no suggestions for that problem other than to "use another application to capture," (UNacceptable since I paid BEAUCOUP bucks for CS6 and I have a perfectly reasonable expectation that it should perform), and "roll back to the previous update" [again, unacceptable, as  1) I have no idea how to do that and 2) updates are issued to resolve other problems, right?  So why should I be forced to roll back?].  Sorry, but these didn't help.
    That particular problem was apparently "resolved" with a subsequent update, and there were no problems for a while (other than the fact that I could still not disable aero through PP CS6's compatiblity tab).  But now, apparently, there has been a further update that has caused this latest problem that never existed before.  Please help.

    Regardless, Premiere Pro should not have an issue if I want to disable Aero themes.  CS6 is the only version that apparently does have an issue with it (and, even then, only recently, which leads me to beleive that a recent update is to blame).
    I know this because I also have the old, old Premiere Pro 2.0 installed on the same machine.  If I disable Aero and then Open PP 2.0, the capture screen is just fine. 
    But if I disable Aero and first open PP CS6, close it, and then open PP 2.0 instead, the capture screen in PP 2.0 is now black as well, and I cannot get it back unless I reboot.  Obviously, when I close PP CS6, some service or other, that I haven't been able to identify so far, is remaining open and affecting PP 2.0.
    Again, all prior versions of PP have never had an issue with disabling Aero themes.  Why does CS6, all of sudden, absolutely need it enabled in order to work properly (though it doesn't work properly, it drops frames)?

  • Capture Screen Shot not working in Full Motion

    I am trying to use Full Motion Recording to capture mouse
    movement, while also manually capturing screen shots. The screen
    shots are not being captured though. I've tried the default Print
    Screen key, and also resetting it to the Down key, with no success.
    I can capture the screen shots when Full Motion Recording is not
    active.
    The information in the Help files and Knowledgebase seem to
    indicate that it's possible to manually capture screens while
    recording full motion. Any suggestions about what could be going
    wrong?
    Thanks.

    Hi LisaLouLou and welcome to our community
    I think the help may be misleading you here. If you are
    recording by using the total “Full Motion Capture”,
    Captivate ignores the Print Screen key because you have told it
    that the entire project is to be recorded using Full Motion. Hence,
    there is no slide by slide based recording as there is using the
    other options.
    After you have recorded, you are free to insert blank slides,
    then add images as needed in case that helps.
    Cheers... Rick

  • Log and Capture Screen

    I just switched from FCP to Final Cut Express HD. I cannot get the "log and capture" screen to show as in FCP version. I get a small screen with just capture. No device controls, etc.
    Is there a preference setting somewhere I have not found or doesnt FCE HD have that function?
    thanks
    Jon
    firewired to JVC JD 110U

    There is no device control or capture window for HDV material. You set the correct settings, activate the capture the function, and the material gets sucked into your computer and converted to Apple Intermediate Codec.

  • Device online, but cannot control camera from Capture screen

    I have a the camcorder listed below connected to my computer through a firewire card (also listed below), and I'm trying to capture video from tape with Premiere Pro CS4.  The camera is online, and if I use the controls on the camera player to play the tape, the video shows in the capture preview, but I cannot control the camera from the capture screen.
    Device Control is set to DV/HDV, and set device to Samsung.
    Any idea what's going on here?
    Operating System: Windows XP Professional
    Sound card / driver version: SoundMax Integrated Digital Audio driver:5.12.1.5246
    Video capture card / driver: Texas instruments OHCI compliant IEEE 1394 firewire card, driver:5.1.2535.0
    Camcorder: Samsung SC-D363 miniDV, driver:5.1.2600.0
    - Amanda, Carolina Tiger Rescue

    Yes, the record button is live, just the controls to control the tape deck in the camera are greyed out.
    I have since borrowed a Sony DCR-HC42 to capture from, and the controls are working for it.  However, it will not capture by setting In Points and Out Points,  I just have to position the tape as best as possible, record and select when to stop the recording stop from the Preview.  It's not ideal, but it's getting the job done.
    This sort of problem seems to be par for the course when using Premiere on a pc. Users just have to plan on a few days to resolve compatability issues that should not have existed.
    so for the moment, no critical issues, but once this project is done I will need to revisit the problem.
    thanks for the help!  Amanda

Maybe you are looking for

  • Report KE5Z and FAGL003

    hi guru's I have executed the transaction code KE5Z for profit center line item here I can see the vendor number but when I executed the transaction code FAGLL03 I canu2019t see the  vendor number. However in FAGL003 only for document type RE (Invoic

  • ATT Centro does not appear as modem

    I have been on the phone with ATT helpdesk for about an hour and we have set up the partnership between my IBM thinkpad using Windows XP pro laptop and my Palm Centro using a bluetooth dongel but it does not show up as a modem. I need help quickly. P

  • Problem with two OC4J instances in Oracle 10g AS

    hi all, i am using windows XP(OS), Oracle 10g Application Server. when i create two instances of OC4j other than home instance, say instance1 and instance2 and deploy two different applications in two instances then i get "page not found" error. both

  • Album Art not making it to iPhone 4S correctly

    My Macbook Pro & PC running iTunes 11.01.12 do not transfer correct album art to my iPhone 4S. While playing music some ablum art looks like picture of a music video, or playing Snoop Dogg showing a picture of Mariah Carey

  • Anyone got a mic working? (cs46xx Hercules Digifire 7.1)

    Morning all. Everything's cool with Arch atm, but I can't get my mic to work. I use a Hercules Digifire 7.1 sound card, which uses the cs46xx (crystal fusion is it?) module, and works fine. Since I've been playing ut2004 on here, I want to get my mic