EDIT: I found something simiple: Java Tips - Make your own Java Media Player to play media files
The code wasn't the problem. The JMF looks like it's running automatically when I compile and run my project. The screen that pops up has the title EXPORT, a textfield, FILE & CAPTURE button and one of the old JAVA logos in the top left corner. Inputting values and clicking next on this screen takes me to a new dialogue that asks me to save to a file/ transmit over the network / preview on screen. Choosing Preview on screen takes me to a new window that asks me to specify the content type and parameters for output.
I'm confused as to what this is, or how to run the code that is in my project and not what I believe is the JMF code.