private void changeTracks(JList jListSource, List<Track> trackSource, List<Track> trackTarget, DefaultListModel listSource, DefaultListModel listTarget) {
        //Intercambia las pistas entre las listas de pistas  mantenidendo
        //la posicion de la seleccion y actualiza los titulos de las mismas.
        int indexSelected = jListSource.getSelectedIndex();
        trackTarget.add(0, trackSource.get(indexSelected));
        trackSource.remove(indexSelected);
        listTarget.add(0, listSource.remove(indexSelected));
        
        if (indexSelected == jListSource.getMaxSelectionIndex() || indexSelected - 1 > -1) {
            jListSource.setSelectedIndex(indexSelected - 1);
        } else {
            jListSource.setSelectedIndex(indexSelected);
        }
        updatePanelTitles();
    }