private void deletePlaylist() {

    playlist = new Playlist();
    playlist.setPlaylistName(playlist_name);
    if (playlistController.deleteDateFromTable(playlist))
      JOptionPane.showMessageDialog(null, "Deleted Success");
    else JOptionPane.showMessageDialog(null, "Faild");
    resetPlaylist();
  }
 private void playPlaylistOpen() {
   Playlist pl = new Playlist();
   pl.setPlaylistName(playlist_name.split(":")[0]);
   playlistController.upCountDisplay(pl.getPlaylistID());
   FrameMain.getInstane().addFramePlaySongInPlaylist(playlistController.getIDByPlaylistName(pl));
 }