thank you so much for the answer.
I read about Player pooling and Resource management but I am unable to solve this problem:
Suppose I create a Player's pool.
How can I start those players one follow the other?
And.. How can I stop the execution in any moment of all the pool players list?
If I check the var Player.getState() I must have a daemon pooling everytime on the var... and if I stop the player,
the following player starts the execution.
I can even set a brake on the "for" cicle on the Player vector.
But on this way I wait however at least the end of a file playing.
Vector players = new Vector();
/*Filling up the vector*/
for (int i = 0; i<players.size(); i++)
Player player2 = ( Player )players.elementAt(i);
while(player2.getState == p.Started)
//in this way the players starts sequentially... but how can I stop all the execution
//of the queue in specific moment? Using a var shared by different threads?