Hel Posted December 24, 2016 Share Posted December 24, 2016 After digging I found the code "Robot().createScreenCapture", but I can't seem to find what it is now a days, anyone wanna help a fella out? :-) Quote Link to comment Share on other sites More sharing options...
House Posted December 24, 2016 Share Posted December 24, 2016 BufferedImage image = new Robot().createScreenCapture(Rectangle); ImageIO.write(image, "png", new File(getDirectoryData() + "screenshot.png")); This captures your screen in the given rectangle, not sure if this supports multi monitor setups. Quote Link to comment Share on other sites More sharing options...
Hel Posted December 24, 2016 Author Share Posted December 24, 2016 Thanks. must have just been mucking up some imports or something ! Quote Link to comment Share on other sites More sharing options...