Article View: borland.public.jbuilder.java.language
Article #7957Re: Beep!
From: Valentino Kyriakides
Date: Thu, 03 May 2001 14:45
Date: Thu, 03 May 2001 14:45
51 lines
2105 bytes
2105 bytes
Or just:
Toolkit.getDefaultToolkit().beep();
Valentino
"Dave Cullen" <no_spam@mail.com> schrieb im Newsbeitrag
news:3af16e5c_1@dnews...
> Toolkit is an abstract class and you can't instantiate an object of that
> type. You can get the current Toolkit by using the getToolkit() method
from
> any container in your program. Then call beep() from that...
>
> static Frame1 frame = new Frame1(); // or whatever your container is...
> frame.getToolkit().beep(); // worked for me
>
> drc
>
>
> "Kotis" <kkot@aegean.gr> wrote in message news:3af01937_1@dnews...
> >
> > I am trying to create a sound using the beep() function of the
> > java.awt.Toolkit class.
> >
> > Toolkit beeper;
> > beeper.beep();
> >
> > But there is no sound produced.Any hints?
> >
> > --
> > Mr. K. I. Kotis
> > IT Manager
> > Prefecture of Samos
> > --------------------------------
> > B.Sc Computation
> > Ph.D Student
> > University of the Aegean
> > --------------------------------------
> > Samos
> > HELLAS
> > Tel: ++30 273 80298
> > Fax: ++30 273 80297
> > ISDN: ++30 273 89150
> > Mobile:++30 974 822712
> > http://www.samos.aegean.gr/icsd/kkot
> >
> >
> >
> >
>
>
Technical Details
Message-ID:
<3af16fbf_1@dnews>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3af01937_1@dnews> <3af16e5c_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,de5cc0daeb0d375 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-05-03 08:12:02 PST From: "Valentino Kyriakides" <vkyr@nospamlavielle.com> Newsgroups: borland.public.jbuilder.java.language References: <3af01937_1@dnews> <3af16e5c_1@dnews> Subject: Re: Beep! Date: Thu, 3 May 2001 16:45:30 +0200 Lines: 53 Organization: ISION X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 NNTP-Posting-Host: 194.64.62.36 Message-ID: <3af16fbf_1@dnews> X-Trace: dnews 988901311 194.64.62.36 (3 May 2001 07:48:31 -0700) Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews