Need to have have it go across multiple monitors for the screen capture. I found the spot that calls the screensize but having issues spanning both.
http://whileonefork.blogspot.de/2011/02/java-multi-monitor-screenshots.html may help. The code works fine for normal monitor alignments, this works much better:
for (GraphicsDevice screen : screens) { Rectangle screenBounds = screen.getDefaultConfiguration().getBounds();
System.out.println(screen.getIDstring() + " " + screenBounds.x + " " + screenBounds.y + " " + screenBounds.width + " " + screenBounds.height);
allScreenBounds.x = Math.min(allScreenBounds.x, screenBounds.x);
allScreenBounds.y = Math.min(allScreenBounds.y, screenBounds.y); allScreenBounds.width = Math.max(allScreenBounds.width, screenBounds.x + screenBounds.width);
allScreenBounds.height = Math.max(allScreenBounds.height, screenBounds.y + screenBounds.height);
} if (allScreenBounds.x<0) {
allScreenBounds.width = allScreenBounds.width - allScreenBounds.x;
}
if (allScreenBounds.y<0) {
allScreenBounds.height = allScreenBounds.height - allScreenBounds.y;
}
As there are a lot of possible options how to arrange monitors within Windows, testing is needed.
Message was edited by: LG