To access the Sound preference tool, click Launch, then choose Preferences -> Desktop Preferences -> Sound.
The Sound
preference tool enables you to
control when the Java Desktop System sound server starts. You can also specify
which sounds to play when particular events occur.
You can customize the settings for the Sound
preference tool in the following functional areas:
General
Sound Events
System Bell
Use the General tabbed section of the Sound
preference tool to specify when to launch the Java Desktop
System sound server. You can also enable sound event functions.
Table 7–41 lists the general sound preferences that you can modify.
Table 7–41 General Sound Preferences
Dialog Element |
Description |
---|---|
Enable sound server startup |
Select this option to start the sound server when you start a session. When the sound server is active, the Java Desktop System can play sounds. |
Sounds for events |
Select this option to play sounds when particular events occur in the Java Desktop System. You can select this option only if the Enable sound server startup option is selected. |
Use the Sound Events tabbed section of the Sound
preference tool to associate particular sounds with particular
events.
You must select the Enable sound server startup option, and the Sounds for events option before you can access the components on the Sound Events tabbed section.
Table 7–42 lists the sound event preferences that you can modify.
Table 7–42 Sound Event Preferences
Dialog Element |
Description |
---|---|
Sounds table |
Use the Sounds table to associate particular sounds with particular events. The Event column displays a hierarchical list of events that can occur. To expand a category of events, click on the right arrow beside a category of events. The Sound File column lists the sound file that plays when the event occurs. |
Play |
Click on this button to play the sound file that is associated with the selected event. |
Sound file |
To associate a sound with an event, select the event in the Sounds table. Use the Sound file drop-down combination box to enter the name of the sound file that you want to associate with the selected event. Alternatively, click Browse to display a Select Sound File dialog. Use the dialog to specify the sound file that you want to associate with the selected event. Note – You can only associate .wav format sound files with events. |
Use the System Bell tabbed section to set your preferences for the system bell.
Some applications play a bell sound to indicate a keyboard input error. Use the preferences in the System Bell tabbed section to configure the bell sound. Table 7–43 lists the system bell preferences that you can modify.
Table 7–43 System Bell Preferences
Dialog Element |
Description |
---|---|
Sound an audible bell |
Select this option to enable the system bell. |
Visual feedback |
Select this option to enable visual feedback to indicate input errors. |
Flash window titlebar |
Select this option if you want window titlebars to flash to indicate an input error. |
Flash entire screen |
Select this option if you want the entire screen to flash to indicate an input error. |