applet program to load image and emit 2 sounds with event listeners

Hello folks,

this is the following applet program which i have tried with event listeners, and threads.

But i seem to get lot of errors. some how things are not synchronising.

can anybody help me writing code for this program? or any hints?

Write an applet that:

* when it initializes, loads an image and two sounds.

* when it starts, displays the image and emits the first sound.

* when it stops, hides the image and emits the second sound

-

thanks in advance.

[523 byte] By [ab8-Za] at [2007-11-27 4:50:21]
# 1

> Hello folks,

>

> this is the following applet

> program which i have tried with event listeners, and

> threads.

>

> But i seem to get lot of errors. some how things are

> not synchronising.

>

> can anybody help me writing code for this program? or

> any hints?

>

>

> Write an applet that:

>

> * when it initializes, loads an image and two

> sounds.

> * when it starts, displays the image and emits

> the first sound.

> * when it stops, hides the image and emits the

> second sound

>

>

>

> thanks in advance.

Post the source so I can see what you have done wrong.

(T)

tswaina at 2007-7-12 10:03:39 > top of Java-index,Desktop,Core GUI APIs...