Click to See Complete Forum and Search --> : JMF controllerlistener


purefan
11-05-2007, 11:40 AM
Hello Fellas!

kind of a beginner's question but im trying to develop an applet for streaming video, captured live from a webcam. But just starting and can't use the ControllerListener as per this example:
http://java.sun.com/products/java-media/jmf/1.0/guide/JavaMediaFrameA.fm.html

The line here:


public class TypicalPlayerApplet extends Applet implements
ControllerListener


says that ControllerListener cannot be resolved as a type. I imported all of the .jar that resulted from the installation of the JMF but didnt. Looked into all the .jar files in my hard drive for the controllerlistener keyword but only the ones already available from eclipse showed up.

Can anyone shed any light on this?

Thank you!

Khalid Ali
11-06-2007, 11:34 PM
you probably are not looking at the right location.

go here (https://sdlc5a.sun.com/ECom/EComActionServlet;jsessionid=982704BA62AF421F936C5E1B71F6861A) download the JMF library (zip version) open it up, and then follow this path
lib>javax>media>
and in the media folder there is ControllerListener interface...