title: How to take a screenshot in Java without AWT / Robot (entire screen)
body: <p>I've seen the usual way of taking a screenshot in Java where you use a Robot and a BufferedImage to take a screenshot. But is there a way of doing this without using Robot and BufferedImage?</p>
  
  <p>Why?
  I am working with JavaFX and I don't like mixing up AWT (Swing) and JavaFX.
  Not a big problem, I know, but I would love to keep everything within one library.
  I've also heard that Robot is a bit slow, but that's not the main reason.</p>
  
  <p>EDIT: I would like to capture the whole screen and not just an area like a scene.</p>
  
  <p>Thanks in advance :D</p>