QUICK NAVIGATOR
PRODUCTS
TECHNOLOGIES
DEVELOPMENT TOOLS
* News
* Java Media Framework
* Intel Animation for Java
* Intel Spatial Audio for Java
* Runtime Software License
* SDK Software License
* System Requirements
* Download Area
* Documentation Online
* Gallery
* General FAQ
* Support Information

[INTEL NAVIGATION HEADER]

Java* Media Framework Tutorial - Lesson 2B

Restart at End of Media

This applet plays a media clip and then "rewinds" it to the beginning.

When the ControllerListener detects an EndOfMediaEvent, the applet sets the MediaTime to zero and restarts the Player .

else if (event instanceof EndOfMediaEvent)
{

player.setMediaTime(0);
player.start();

}

Previous Lesson Tutorial Contents Next Lesson

View Source

 

This page was last updated on Feb 11th, 1997.

Legal Stuff

Free Web Hosting