private void playlistModeButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_playlistModeButtonActionPerformed
        if (playlistMode) {

            if (player.getActPlaylist() != null && player.getActPlaylist().getPlaylist().size() > 1) {
                String s = javax.swing.JOptionPane.showInputDialog("Wie soll die Playlist heißen?");


                if (s != null) {

                    player.getActPlaylist().setTitle(s);

                    try {
                        player.getRepository().createM3U(player.getActPlaylist());
                    } catch (IOException ex) {
                        Logger.getLogger(MP3PlayerGUI.class.getName()).log(Level.SEVERE, null, ex);
                    }

                } else {

                    clearPlaylist();
                }
            }else {
                    for (TrackGUI aktE : trackCircles) {
                        aktE.setStandStill(circlesStopped);
                        aktE.setInPlaylist(false);
                    }
                    playlistLines.setPl(null);
                    player.setActPlaylist(null);
                
            }
            playlistModeButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/de/hsrm/entintben/jcircles/buttons/playlistMode_released.gif")));
            playlistModeButton.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource("/de/hsrm/entintben/jcircles/buttons/playlistMode_over.gif")));
            playlistMode = false;
        } else {
            playlistModeButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/de/hsrm/entintben/jcircles/buttons/playlistMode_pressed.gif")));
            playlistModeButton.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource("/de/hsrm/entintben/jcircles/buttons/playlistMode_pressed.gif")));

            playlistMode = true;
        }

        for (TrackGUI aktTrack : trackCircles) {
            aktTrack.setStandStill(true);
            if (playlistMode) {
                aktTrack.setStandStill(true);
            } else {
                aktTrack.setStandStill(circlesStopped);
            }
        }

    }//GEN-LAST:event_playlistModeButtonActionPerformed