org.xiph.speex.player

Class PlayerApplet


public class PlayerApplet
extends JApplet

JavaSound Player Applet. This is simply a Player Panel placed inside an applet.
Version:
$Revision: 1.2 $
Author:
Marc Gimpel, Wimba S.A. (mgimpel@horizonwimba.com)

Field Summary

private String
filename
private Player
player

Method Summary

void
destroy()
Called by the browser or applet viewer to inform this applet that it is being reclaimed and that it should destroy any resources that it has allocated.
void
init()
Initialize Applet.
void
initGUI()
Initialize Applet, but run from the event-dispatching thread.
void
start()
Called by the browser or applet viewer to inform this applet that it should start its execution.
void
stop()
Called by the browser or applet viewer to inform this applet that it should stop its execution.

Field Details

filename

private String filename

player

private Player player

Method Details

destroy

public void destroy()
Called by the browser or applet viewer to inform this applet that it is being reclaimed and that it should destroy any resources that it has allocated. The stop method will always be called before destroy.

init

public void init()
Initialize Applet. Called by the browser or applet viewer to inform this applet that it has been loaded into the system. It is always called before the first time that the start method is called.

initGUI

public void initGUI()
Initialize Applet, but run from the event-dispatching thread.

start

public void start()
Called by the browser or applet viewer to inform this applet that it should start its execution. It is called after the init method and each time the applet is revisited in a Web page.

stop

public void stop()
Called by the browser or applet viewer to inform this applet that it should stop its execution. It is called when the Web page that contains this applet has been replaced by another page, and also just before the applet is to be destroyed.

Copyright © 1999-2004 Wimba S.A. All Rights Reserved.