..am I wrong about this?
Yes, you are. The only methods that are automatically included in a frame are those defined for it.
The methods you are talking about, are part of the JMF. Those classes need to be imported at the top of the code. Something like:
import javax.media.*;