private void openLine(AudioFormat format) {
private synchronized void openLine(AudioFormat format) {
    private void openLine(AudioFormat format) {	if (line != null) {	    drain();	    line.close();	}	DataLine.Info info = new DataLine.Info(SourceDataLine.class, format);	try {	    line = (SourceDataLine) AudioSystem.getLine(info);	    line.open(format, AUDIO_BUFFER_SIZE);	    setVolume(line, volume);	    resetTime();	    if (isPaused()) {		line.stop();	    } else {		line.start();	    }	}   catch(LineUnavailableException lue) {	    throw new UnsupportedOperationException("Can't get line");	}       }