JavaFX 2.0 mp3 player

In my spare time I played with Java to get the hang of it. So I thought it would be cool to make a mediaplayer with Java, but JavaFX doensn’t support that much codecs so I builded a mp3 player.   PROJECT DISCONTINUED DUE THE LACK OF CODECS.   Intelij idea project available here   TRplayer_design

Javafx FormatTime

Slightly modified version of java2s‘s FormatTime function.

This because when there is a time formated greater then one hour, the seconds are not correctly subtracted.

For example :

Before :

  • 1:16:-3541


  • 1:16:59