Previous Topic Tutorial Home Page Next Topic
Section 1: Video Playback

This applet uses AWT UI controls to control the rate of a video playback.

There are two components in this applet. One is a DXMCanvas used to display the movie image, the other is a panel of AWT controls used to control the playback.
public class VCR extends Applet {
public void init() {
setLayout(new BorderLayout());
DxmMovie cv = new DxmMovie();
Panel ctrls = new Controls(cv._model);
add("Center", cv);
add("South", ctrls);
}
}

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.

Previous Topic Tutorial Home Page Next Topic