hello every one

I am going to create a small project for playing video and audio file in java netbeans.

But i dont know where i have to start.I download jmf from sun and add all jar file in library
1>customizer.jar
2>mediaplayer.jar
3>jmf.jar
But when i write code then it gives error on createRealizedPlayer line my code is that


[String mediaurl=jTextField1.getText();
try
{
Player mediaPlayer = Manager.createRealizedPlayer(mediaurl); Component video = mediaPlayer.getVisualComponent();
Component controls = mediaPlayer.getControlPanelComponent();
mediaPlayer.start();
}
catch (NoPlayerException noPlayerException)
{
System.err.println( "No media player found" );
}]
Please give me the reason of this error .And if you have any suggestion about playing video in java application then please tell me

Thank You