private void addSongsToPlaylistActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_addSongsToPlaylistActionPerformed
			JPanel panel = new JPanel();

			JList list = new JList();
			Map<String, Library> playlists = currUser.getLibrary().getPlayLists();
			Vector<String> tmp = new Vector<String>();
			for (Map.Entry<String, Library> entry : playlists.entrySet()) {
				tmp.add(entry.getKey());
			}
			List<Song> songsToAdd = ownedList.getSelectedValuesList();
			if (!songsToAdd.isEmpty()) {
				if (!tmp.isEmpty()) {
					list.setListData(tmp.toArray());
					panel.add(list);

					int result = JOptionPane.showOptionDialog(this, panel, "Add to playlist: ", JOptionPane.OK_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, null, null);

					if (result == JOptionPane.OK_OPTION) {
						String Playlist = (String) list.getSelectedValue();
						for (Song s : songsToAdd) {
							currUser.getLibrary().getPlaylist(Playlist).addSong(s);
						}
					}

					playlists = currUser.getLibrary().getPlayLists();
					Vector<String> tmp2 = new Vector<String>();
					for (Map.Entry<String, Library> entry : playlists.entrySet()) {
						tmp2.add(entry.getKey());
						List<Song> tmpSongs = entry.getValue().owned();
						for (Song s : tmpSongs) {
							tmp2.add("  " + s.toString());
						}
					}
					this.playListList.setListData(tmp2.toArray());
				} else {
					JOptionPane.showMessageDialog(this, "No playlists available.");
				}
			} else {
				JOptionPane.showMessageDialog(this, "No songs selected.");
			}
        }//GEN-LAST:event_addSongsToPlaylistActionPerformed