Adjust volume and prevent computer from standby in Java… (Mac and Windows XP, Vista)
问题 I am writing a Java program that wants to do 3 things, and I don't know how to do them or if it's even possible with Java. 1 - I want to ensure that the computer whether running mac OS or windows xp/vista, doesn't go to sleep whilst running my app. 2 - I want my app to be able to turn the volume to full on all of the above OS's before playing a sound. 3 - Finally, when a sound is played I want to make sure that the screen, if turned off for 'power saving', is switched on. Is any of this