🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17534

Re: how to get the "bip" system sound ?

#17534
From: Max Polk
Date: Wed, 28 Oct 1998 00:00
15 lines
1257 bytes
> I need a very simple sound which would occur every time the user clicks
> on a button.
> I'd like to know which is the best way to call the system sound ? Is it
> possible ? If not, i know i could use the audio package to play a sound
> from a file, but i would like to avoid that.

You are thinking WINDOWS.  Java is for any platform.  There is no "system 
sound" on many systems, therefore there is no "system sound" in Java.  
The only way to get a sound is from a .AU sound file, AFAIK.

On the non-Borland newsgroups, somebody brought up a similar question 
about getting to the system registry.  Same answer -- that is WINDOWS 
specific.  Some Microsoft flunkie posted a J++ solution, which is a tool 
that doesn't even use the Java language (see 
http://www.afu.com/javafaq.html ).
Technical Details
Message-ID: <MPG.10a12827835fee119896a7@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3636FB9B.A05BD5FB@cs.tut.fi>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,c74bc60cba875777
X-Google-Attributes: gidf74b3,public
From: none@none.com (Max Polk)
Subject: Re: how to get the "bip" system sound ?
Date: 1998/10/28
Message-ID: <MPG.10a12827835fee119896a7@forums.borland.com>
X-Deja-AN: 406009308
References: <3636FB9B.A05BD5FB@cs.tut.fi>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language