public void play() throws JavaLayerException, FileNotFoundException {
        if (!playing) {
            if (actTrack.getDurchmesser() >= 56) {
            } else {
                actTrack.setPlayCount(actTrack.getPlayCount() + 1);
                actTrack.setDurchmesser(actTrack.getDurchmesser() + 1);
            }
            InputStream in = new FileInputStream(actTrack.getSoundfile());
            player = new AdvancedPlayer(in);
            timer = new Timer();
            stopped = false;


            playing = true;

            new Thread() {

                @Override
                public void run() {

                    try {
                        startTimer();
                        player.play();

                    } catch (JavaLayerException ex) {
                        Logger.getLogger(MP3PlayerGUI.class.getName()).log(Level.SEVERE, null, ex);
                    }
                    try {
                        if (isStopped()) {
                        } else {
                            if (repository.getAktPlaylist() == null) {
                                selectTrack(0);
                            } else {
                                skipForward();
                            }
                        }
                    } catch (JavaLayerException ex) {
                        Logger.getLogger(MP3Player.class.getName()).log(Level.SEVERE, null, ex);
                    } catch (FileNotFoundException ex) {
                        Logger.getLogger(MP3Player.class.getName()).log(Level.SEVERE, null, ex);
                    }
                }
            }.start();

        }
    }