public void stop() {

		synchronized (MP3Player.this) {
			isPaused = false;
			isStopped = true;
			MP3Player.this.notifyAll();

		}

		if (playingThread != null) {
			try {
				playingThread.join();
			} catch (InterruptedException e) {
				LOGGER.log(Level.SEVERE, "join() failed", e);
			}
		}
	}