Vidio Search



Judul:Musik | Spiel programmieren | Java | #15 [ger/1080p60]
Durasi:00:14:32
Dilihat:4,111x
Diterbitkan:28 Mei 2016
Sumber:Youtube
Suka Ini ?:

Viel Spaß bei dem Video :) Lasst doch eine positive Bewertung da, wenns euch gefallen hat.

Soziale Netzweke etc.

------------------------------

Twitter: @FoxdenLp (https://twitter.com/FoxdenLp)
Steam: FoX DeN (http://steamcommunity.com/id/foxdenlp/)
E-Mail: foxden1@gmx.de

------------------------------

public class Musik {

public static synchronized void music(String track) {

final String trackname = track;

new Thread(new Runnable() { @Override
public void run() { while (true) { try { Clip clip = AudioSystem.getClip(); AudioInputStream inputstream = AudioSystem.getAudioInputStream(new File(trackname)); clip.open(inputstream); clip.loop(clip.LOOP_CONTINUOUSLY); Thread.sleep(clip.getMicrosecondLength()/1000); } catch (Exception e) { e.printStackTrace(); } } }

}).start();

}

}

BAGIKAN KE TEMAN ANDA


this video can not be downloaded