title: Is it possible to change the desktop background with Java for different operating systems?
body: <p>I have an idea for a class project which involves changing the desktop background image at different times.  I saw these questions: </p>
  
  <p><a href="https://stackoverflow.com/questions/4750372/can-i-change-my-windows-desktop-wallpaper-programmatically-in-java-groovy">Can I change my Windows desktop wallpaper programmatically in Java/Groovy?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/12207574/programmatically-change-the-desktop-wallpaper-periodically">Programmatically change the desktop wallpaper periodically</a></p>
  
  <p><a href="https://stackoverflow.com/questions/6199907/change-desktop-background-of-mac-sytem-using-java-native-access">Change desktop background of MAC sytem using Java native access</a></p>
  
  <p>So I know it can be done on a specific operating system.  Is it possible to set it for different operating systems without writing separate programs?</p>