// #endif public static void Tiger_Sound_Play() { // #if (TIGER=="TRUE") String tempName; tempName = "/sound/tiger.mid"; InputStream isSound = Utils.getResourceAsStream(tempName); try { SoundPlayer = Manager.createPlayer(isSound, "audio/midi"); isSound = null; SoundPlayer.realize(); SoundPlayer.prefetch(); SoundPlayer.setLoopCount(1); SoundPlayer.start(); } catch (Exception e) { e.printStackTrace(); } // #endif }