Well basically I need to store data of interfaces.
The problem is that it's too slow and the interface is gone by the time it actually 'shoots' the image. Which leaves me with a screenshot of nothing useful.
ImageIO.write(ctx.getColorPicker().getBufferedImage(), "JPG", new File(System.getProperty("user.home") + "\\OSBot\\Data\\screenshots\\" + i.getId() + ".jpg"))){
So next thing what came up in my mind was to get the widgets of the interface, which was pretty useless since the parts I'd need from the interface couldn't be stored.
And yes, I know the code only works for windows.