private void btOkActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btOkActionPerformed
        String nome = txtNomePlaylist.getText();
        
        if(p.getLogged().existPlaylist(nome)){
        
            JOptionPane.showMessageDialog(this, "This playlist already exist, please change the name.",
                    "ERROR", JOptionPane.ERROR_MESSAGE);
        }
        else{
            Playlist novo = new Playlist(nome);

            p.getLogged().addNewPlaylist(novo);
            p.getPnBaseColuna().removeAll();
            
            p.setPnColuna(new PnColuna(p));
            p.getPnColuna().buildPlaylistListProp(p.getLogged().getPlaylists());
            
            
            p.getPnBaseColuna().add(p.getPnColuna());
            
            p.revalidate();
            p.repaint();
            
            
            //Actualiza a tabela com as playlist´s pessoais
            p.actualizaTabelaMyPlaylist();
            
        }
        this.dispose();

    }//GEN-LAST:event_btOkActionPerformed