9
« on: August 15, 2013, 10:02:42 pm »
What? Why do you think anybody was offended? Your code was complete before, but not minimal.
Complete - You can copy, paste, and execute it with no modification.
Minimal - The only code there is is the code that relates to the problem, AND there is ideally only one source file.
So now, your code is minimal, but it is not complete. We need complete and minimal code in order to give you the best advice we can.
Anyways, your problem here is that you only tell the music to play once - in a switch statement before the while loop. Your code will never go back to that switch statement, so there is no way for the music to change to the new track. I have an idea of how to fix this, but I don't know the internals of the classes you use.