Controlling the volume of sound output is up to the operating system and/or the drivers for your hardware. This is something that varies tremendously between operating systems and sound generating hardware. The standard Java library is pretty primitive about sound - you can only affect the sound your Java program is generating.
If you can find an operating system command to mute the sound on your particular system, Java might be able to execute it.
Advanced sound capabilities for Java are in
the java media framework you might try looking there.
Bill
[ November 17, 2006: Message edited by: William Brogden ]