> Is there any way to display the BEL character (ASCII code 7) in an
> applet embeded in a HTML page.
You can certainly display it, but you're unlikely to find a font that
maps a glyph to it. You're likely to get one of those little square
boxes indicating the lack of an appropriate glyph in the font.
> But, no beep is produced by the speaker of the computer. I've also
> tested with getToolkit.beep() but what i really want is to produce the
> beep from BEL character, as the HTML page with the applet is to be
> used in a thin client environment acessing a remote Windows 2003
> Server (using RDP) and the thin clients don't even have a speaker,
> only a beeper.
So it appears you don't want to display it, but rather want to cause a
beep; and you're furthermore convinced that you want to use an ASCII
code 7 to do so.
That's too bad, because you can't accomplish that latter goal. The beep
behavior attached to the BEL ASCII code is a feature of certain command
prompts and terminals. It goes without saying that unless you are
speaking to a command prompt or terminal that implements this feature,
the feature won't work.
I'd expect that on a PC-architecture system with no external sound
interface, the default toolkit's beep would use the internal speaker (if
it's present). If not, then you'll have to resort to something more
system-specific (such as JNI) to cause the beep.

Signature
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
Roedy Green - 05 May 2004 20:57 GMT
>> But, no beep is produced by the speaker of the computer. I've also
>> tested with getToolkit.beep() but what i really want is to produce the
>> beep from BEL character, as the HTML page with the applet is to be
>> used in a thin client environment acessing a remote Windows 2003
>> Server (using RDP) and the thin clients don't even have a speaker,
>> only a beeper.
see http://mindprod.com/products.html#SPEAKER
requires JNI and applet signing though.
--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.