Results 1 to 8 of 8
Thread: Capture
- 10-16-2010, 12:01 AM #1
- 10-16-2010, 06:40 AM #2
You mean like this?
Java Code:Rectangle screen = new Rectangle(Toolkit.getDefaultToolkit().getScreenSize()); BufferedImage screenCapture = new Robot().createScreenCapture(screen);
That shouldn't have the cursor on it.
- 10-16-2010, 07:05 AM #3
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 14,421
- Blog Entries
- 7
- Rep Power
- 26
Why do you want the cursor to be visible in the capture? The cursor could move while the capture process is busy. Drawing a cursor is hardware accellerated on a lot of systems and isn't part of the screen content anyway. It can't be done normally (and it's use is completely beyond me except for academic reasons).
kind regards,
Jos
- 10-16-2010, 11:13 AM #4
So it is imposible? How do the screen recording programs do it?
- 10-16-2010, 01:06 PM #5
Probably by detecting the mouse position (which is available in Java via MouseInfo / PointerInfo) and drawing a mouse pointer on top of the captured screen image.
db
- 10-16-2010, 02:27 PM #6
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 14,421
- Blog Entries
- 7
- Rep Power
- 26
- 10-16-2010, 06:04 PM #7
Yeah... normal screen captures don't have the mouse on them (just like the Print Screen button). Why doesn't the OP just use that?
- 10-17-2010, 05:26 PM #8
Similar Threads
-
Capture Video from ip camera
By nesrine18 in forum Advanced JavaReplies: 3Last Post: 03-12-2012, 08:08 PM -
DVB-T capture
By krato in forum Advanced JavaReplies: 0Last Post: 08-03-2010, 11:46 PM -
Pixel capture
By Maiquelnet in forum Advanced JavaReplies: 1Last Post: 11-16-2009, 08:28 PM -
How to capture IP packets
By Hasan in forum NetworkingReplies: 1Last Post: 05-31-2007, 05:44 PM
Bookmarks