• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sound Files without Japplet

 
Landon Blake
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The book I'm learning Java with said that you need to use a subclass of japplet to play sound files in a program, because the sound features of Java 1.0 were packaged with the applet classes. Is there a way to play sound files in a stand alone program using another method or different set of classes?
Thanks,
The Sunburned Surveyor
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. The Java Media Framework (JMF) is an add-on API that does what you want. See http://java.sun.com/products/java-media/jmf/index.jsp .
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want to take a look at The Sound Trail of Sun's Java Tutorial.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic