DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Capture Screen in java

  1. #1
    Join Date
    Jul 2006

    Capture Screen in java

    Hi All,

    I have an applet that runs a report of around 100 pages. Infact, Well, I provide the applet for another application that generates the report! Note that its the aplication that is providing the report and is not by the applet, however the report can be seen on the applet window! The application pushes the report on to the screen and I'll have to provide a functionality to capture everything that is shown on the screen! The report is pumped on the screen rapidly in less than 2 minutes. I want to capture the whole screen data and then save it as a text file! With the word "data" I mean just the data on the screen and not any of the menus or toolbars! The application does not push it to the file due to some security reasons. And, I totally understand that a snapshot pertains to one particular instance of the screen and not more than one screen. However, I'm interested in capturing the whole data. As the report is generated continously, we can capture one screen at a time, keep it to a buffer, and keep adding to buffer, without missing or repeating the data, and finally have the entire report in the buffer and then save it to a file! Though I have an conceptual idea, I'm sure as to how to implement it...I use jdk1.42! Once I get the report in the text format, saving it wil be of no problem, however I need suggestions as to how to go about this! Any code samples is appreciated! Mail me at, if you have any suggestions and the one which completely resolves my issue will be rewarded!
    And.. Mailing me was just an option, I will always look up the forum for any answers..



  2. #2
    Join Date
    Nov 2004
    Is the application a servlet. e.g. how is the push implemented ? If you don't have the applet's source code and no description of how the applet-application(servlet) communicate then I think this will be a hard nut to crack.
    eschew obfuscation

Similar Threads

  1. Replies: 2
    Last Post: 06-14-2006, 03:16 PM
  2. Java vs. .Net. A questionnaire
    By Basil in forum .NET
    Replies: 1
    Last Post: 05-13-2005, 06:46 AM
  3. Save Screen Capture to a file
    By Jones in forum VB Classic
    Replies: 0
    Last Post: 12-16-2000, 03:45 PM
  4. Save Screen Capture output to a file
    By Ranger in forum VB Classic
    Replies: 0
    Last Post: 12-11-2000, 04:00 AM
  5. Re: VB vs. Visual Age for Java
    By JJ in forum Enterprise
    Replies: 1
    Last Post: 07-06-2000, 04:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center