How can I check whether the mediaplayer is playing or stopped, using Java Media Framework?
You can call getState and check against Controller.Started:
getState
Controller.Started
if (mediaPlayer.getState() == Controller.Started)