🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: AudioClip problem?

#14887
From: Lois Neo
Date: Mon, 26 Jul 1999 00:00
35 lines
1827 bytes
No, my application will be staying there waiting for user actions, such as
clicking a button on the frame.
I've read somewhere that the problem might be becoz the clip has not been
fully loaded, and to solve that we probably have to add this statement:
Thread.currentThread().sleep(100000); after sound.play(), but my system
actually hangs there with this extra statement...

--
Thanks for any help given

Lois
Dion Gillard <dion@multitask.com.au> wrote in message
news:MPG.120579fc81ebb98f989689@forums.inprise.com...
> Did the application end straight after??
>
> dIon
> In article <7ne5mh$so04@forums.borland.com>, slneo@cybergal.com says...
> |  This method was called during actionPerformed() of a JButton, and this
was
> |  the last thing that was called in actionPerformed().
> |
> |  --
> |  Thanks for any help given
> |
> |  Lois
> |  Dion Gillard <dion@multitask.com.au> wrote in message
> |  news:MPG.12040384849281c7989688@forums.inprise.com...
> |
> |  > What are you doing after the play()? From memory play() runs on a
> |  > separate thread...
> |  >
> |  > dIon
> |
> |
> |
Technical Details
Message-ID: <7ngd80$1em5@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7nai3r$pkv1@forums.borland.com> <MPG.12040384849281c7989688@forums.inprise.com> <7ne5mh$so04@forums.borland.com> <MPG.120579fc81ebb98f989689@forums.inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,44b1fd427c3ade1
X-Google-Attributes: gidf74b3,public
From: "Lois Neo" <slneo@cybergal.com>
Subject: Re: AudioClip problem?
Date: 1999/07/26
Message-ID: <7ngd80$1em5@forums.borland.com>
X-Deja-AN: 505219126
References: <7nai3r$pkv1@forums.borland.com> <MPG.12040384849281c7989688@forums.inprise.com> <7ne5mh$so04@forums.borland.com> <MPG.120579fc81ebb98f989689@forums.inprise.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Reply-To: "Lois Neo" <slneo@cybergal.com>
Newsgroups: borland.public.jbuilder.java.language