I know, a lot of people already asked how to change the desktop wallpaper, and I found a particular well-working example in this post: Can I change my Windows desktop wallpaper programmatically in Java/Groovy?
HOWEVER, I wish to change my wallpaper every second: simply load in a template, draw a clock and other data in it, save it to disk, point windows to the new file so it can use it as a wallpaper. This seems very "hacky" as a wallpaper is written multiple times per second to disk. Is there a way where I can point the OS to the BufferedImage instead of saving it to disk?