Results 1 to 3 of 3
Thread: playing music while program runs
- 05-04-2011, 03:50 PM #1
playing music while program runs
don't know if this even is possible...
but i would like to get a music file to play while the program is running..
(program would be a sort of easy RPG where you need to cross a maze)
any idea if this is possible and how this could be implemented?
every bit of help is appreciated. ^^
- 05-04-2011, 04:47 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 14,422
- Blog Entries
- 7
- Rep Power
- 29
Have a look at the static method Applet.getAudioClip( ... ) method; it loads an AudioClip which you can play. imho, that method doesn't belong there, it should be a static method of the AudioClip class (if it were a class, it's an interface) itself because it has nothing to do with Applets ...
kind regards,
JosBuild a wall around Donald Trump; I'll pay for it.
- 05-04-2011, 05:16 PM #3
Similar Threads
-
Music player problem
By abhinavhardikar in forum Advanced JavaReplies: 2Last Post: 02-07-2010, 04:17 AM -
Problem: program runs with eclipse not with dat file
By livnihai in forum EclipseReplies: 0Last Post: 10-04-2009, 02:47 PM -
Music in Java Program
By AWPtic in forum New To JavaReplies: 1Last Post: 04-06-2009, 06:35 PM -
Program Runs in NetBEans but Not in cmd
By MeathUltra in forum NetBeansReplies: 1Last Post: 12-09-2008, 05:38 AM -
Play music
By carderne in forum New To JavaReplies: 4Last Post: 08-05-2008, 01:09 PM
Bookmarks