}
}
}
});
playlistManager.addPlaylistListener(new PlaylistListener() {
@Override
public void playlistRemoved(Playlist playlist) {
if (tabbedPane.getTabCount() > 0) {
for (int i = 0; i < getTabCount(); i++) {
if (getTableAt(i).getPlaylist() == playlist) {