It seems that you have not added the required jar libraries to your project.
If you are on windows, try installing the JMF windows performance pack from this link:http://www.oracle.com/technetwork/java/javase/download-142937.html
- Install this exe file on your PC.
- Restart your computer.
- Open your project in netbeans.
- Right click on your project name in the project explorer window and open project properties.
- Go to the Libraries section. Under the Compile tab, select add jar/folder.
- Select and add all the jar files from the path where your JMF was installed. The default is C:\Program Files\JMF\lib. There should be 5 jar files.
This should resolve your error.
If you are on a different OS, follow the steps on the above mentioned link.