private void jComboBox1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jComboBox1ActionPerformed
         myPlaylistsList.getSelectedIndex();
         
         
        if(myPlaylistsList.getSelectedIndex()==-1){
        
            JOptionPane.showMessageDialog(this, "Please select one playlist.",
                    "ERROR", JOptionPane.ERROR_MESSAGE);
        }
        else{
        
            if(jComboBox1.getSelectedIndex()==0){
            
                pagPrincipal.getLogged().getPlaylistByName(this.playlistProp.
                        get(myPlaylistsList.getSelectedIndex()).getName()).
                        setShared(true);
                
            }
            else{
            
             pagPrincipal.getLogged().getPlaylistByName(this.playlistProp.
                     get(myPlaylistsList.getSelectedIndex()).getName()).
                     setShared(false);  
            }
            buildAllLists();
            pagPrincipal.actualizaTabelaMyPlaylist();
        }
    }//GEN-LAST:event_jComboBox1ActionPerformed