wood burning stoves
The moose likes Beginning Java and the fly likes can we have audio clips in JFrame? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "can we have audio clips in JFrame?" Watch "can we have audio clips in JFrame?" New topic

can we have audio clips in JFrame?


Joined: Mar 23, 2005
Posts: 7
i'm writing this program in JFrame.. then i was browsing java.sun.com n happened to see that it's possible to have audio clips in applets. so am now wondering can i have music for my JFrame? or is it only for applets?
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24189

That method is only available for applets, but the Java Media framework (JMF) is a separate standard API that can play music -- see http://java.sun.com/jmf .

[Jess in Action][AskingGoodQuestions]
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17271


Please click on the My Profile link and change your name to match our nming policy of using your real first and real last names.



Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Have you checked out Aspose?
subject: can we have audio clips in JFrame?
jQuery in Action, 3rd edition