* Given an array of MediaLocators, create Players and
* add them to display Panel.
*/
private void createAndDisplayPlayers(MediaLocator[] mls)
throws NoPlayerException, IOException {
StateWaiter waiter;
setLayout(createLayout(mls.length));
players = new Player[mls.length];
for (int i = 0; i < mls.length; i++) {
players[i] = Manager.createPlayer(mls[i]);
waiter = new StateWaiter(players[i]);
waiter.blockingRealize();
displayPlayer(players[i], mls[i]);
waiter.blockingPrefetch();
}
}