File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 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: 24199

That method is only available for applets, but the Java Media framework (JMF) is a separate standard API that can play music -- see .

[Jess in Action][AskingGoodQuestions]
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276


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 - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: can we have audio clips in JFrame?
It's not a secret anymore!