public void changeMusic()
	{
		music = (music+1)%6;
		switch(music)
		{
		case 0: path = ClassLoader.getSystemResource("resources/music/halo.mp3"); break;
		case 1: path = ClassLoader.getSystemResource("resources/music/maintheme.mp3"); break;
		case 2: path = ClassLoader.getSystemResource("resources/music/castlesiege.mp3"); break;
		case 3: path = ClassLoader.getSystemResource("resources/music/finaldestination.mp3"); break;
		case 4: path = ClassLoader.getSystemResource("resources/music/waiting.mp3"); break;
		case 5:
			path = ClassLoader.getSystemResource("resources/music/waiting2.mp3"); break;
		}
		player.close();
		new Thread() {
			public void run() {
				try { 
					player = new Player(path.openStream());
					player.play(); }
				catch (Exception e) {System.out.println(e); }
			}
		}.start();
	}