File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

can we have audio clips in JFrame?

nurichan
Greenhorn

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
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

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
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

"Nurichan"

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.

Thanks

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can we have audio clips in JFrame?