void preparePlaying() {
		try {
			if (isDefaultMusic(defaultMusic)) {
				musicList.clear();
				musicList.add(defaultMusic);
				ins = AudioSystem.getAudioInputStream(JMusic.class
						.getResource(defaultMusic));
			} else {
				File file = new File(musicList.get(i));
				while (!file.exists()) {
					if (i < musicList.size() - 1)
						i++;
					else
						i = 0;
					file = new File(musicList.get(i));
				}
				ins = AudioSystem.getAudioInputStream(file);
			}
			audioFormat = ins.getFormat();
			audioFormat = new AudioFormat(AudioFormat.Encoding.PCM_SIGNED,
					audioFormat.getSampleRate(), 16, audioFormat.getChannels(),
					audioFormat.getChannels() * 2, audioFormat.getSampleRate(),
					false);
			dataLineInfo = new DataLine.Info(SourceDataLine.class, audioFormat,
					AudioSystem.NOT_SPECIFIED);

			line = (SourceDataLine) AudioSystem.getLine(dataLineInfo);

			line.open(audioFormat);
		} catch (LineUnavailableException e2) {
			// TODO Auto-generated catch block
			e2.printStackTrace();
		} catch (UnsupportedAudioFileException | IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		line.start();
	}