[5805] in java-interest
RE: Audio
daemon@ATHENA.MIT.EDU (Per Danvind)
Tue Feb 27 05:01:10 1996
From: Per Danvind <perry@interbizz.se>
To: "'Chemouny Sebastien'" <etip@world-net.sct.fr>,
"java-interest@java.sun.com" <java-interest@java.sun.com>
Date: Tue, 27 Feb 1996 09:01:41 +-100
Your applet will never start since you haven't implemented the
start() method. Do something like :
public void start() {
(new Thread(this)).start();
}
start() will be called when the applet should start executing and
the above code will make the run() method execute in a new thread.
Good Luck!
--
Per
----------
From: Chemouny Sebastien[SMTP:etip@world-net.sct.fr]
Sent: den 27 februari 1996 01:49
To: java-interest@java.sun.com
Subject: Audio
I was wondering why that code don't work !!
I thought it was pretty simple to play a sound.
There are no imports.
<Begin here>
public class au extends java.applet.Applet implements Runnable {
public void run() {
play(getCodeBase(), "ding.au");
}
}
<End here>
Am i missing something ?
TIA
Seb
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com