How to find the end of a playback

hi,Once I invoke the start() method of the Player object, playback begins without blocking. So, how do I determine when the playback of the current track is completed.
[181 byte] By [Spaniana] at [2007-11-26 21:16:19]
# 1
Add an ActionListener and wait for an EndOfMediaEvent
qUesT_foR_knOwLeDgea at 2007-7-10 2:55:09 > top of Java-index,Security,Cryptography...