This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
It just says the JVM is still using it.
Of course if I quit the program I can delete, but I really need to have the delete functionality whilst program is running.
I've looked a little at the API for javafx.scene.media.MediaPlayer and javafx.scene.media.Media.
Similarly to when reading/writing to file, one should always close any streams that are still open, but I can't seem to flush or close music file playing with MediaPlayer.