Java Examples In A Nutshell (3rd Edition) [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Java Examples In A Nutshell (3rd Edition) [Electronic resources] - نسخه متنی

O'Reilly Media, Inc

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید










17.2 Swing Aural Cues


GUI toolkits, such as Swing, typically play short sounds or cues when
specific events occur. The display of an error
dialog box will cause an "alert"
sound of some sort to let the user know that an error has occurred,
for example. And selecting a checkbox might cause a subtle click, to
provide a layer of aural feedback and reassure the user that the
selection was in fact made. Swing uses a pluggable look-and-feel
layer, and any aural cues are the responsibility of the
installed look-and-feel. In most cases, no programmatic intervention
is required, and the aural cues provided by the look-and-feel can
simply be accepted as they are. The API for configuring these aural
cues is essentially undocumented. See Example 11-28
for a way to turn aural cues on and off.


/ 285