i want to implement a jukebox in java
where a user chooses a tune from a category, then this gets sent to a play list, if tunes are waiting then it gets put to the back on queue, then gets played when the others have finished. What would be the structure of this in code?
create a tune class, then use a vector of tunes for a playlist.One thing i was wondering is how to know when a particular tune is playing and then call the next one from the playlist, would this use a thread?
please help!! please provide some example code.