Results 1 to 2 of 2
  1. #1
    newbie2015 is offline Member
    Join Date
    May 2015
    Posts
    1
    Rep Power
    0

    Default How to make resizable screencapturer using Robot in Java?

    I am new to java. I am trying to make a simple screencapture and display program.

    I am using robot class to capture a particular portion of the screen and display it in a separate frame.

    However I need to be able to resize the area of screencapture. I searched but I dint find any solution wherein I can do so.

    I am using this command for capturing the screen

    But I couldn't find a way to make the rectangle re-sizable.


    Java Code:
     BufferedImage buff = robot.createScreenCapture(new Rectangle(0,0,1300,750)); // x-coord, y-coord, width, height

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    12,059
    Rep Power
    26

    Default Re: How to make resizable screencapturer using Robot in Java?

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 14
    Last Post: 09-21-2013, 10:22 PM
  2. Replies: 2
    Last Post: 12-07-2012, 06:50 PM
  3. Replies: 11
    Last Post: 11-14-2012, 07:48 PM
  4. Replies: 10
    Last Post: 10-14-2010, 01:33 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •