Hi,
How do I change my desktop's wall paper through a program (preferably in
Java)?
The options I tried are:
# 1: I change registry setting with Runtime class.
Issue: The change applies only on start up.
# 2: I change the file from where windows pics up default wall paper (c:\user\<username>\appdata\roaming\microsoft\windows proto gallary - for vista).
Issue: Like former case, the change applies only on start up.
What I would like is, it should change the wall paper immediately when I execute the program.
Any suggestions will help.
Thanks.