• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can we have audio clips in JFrame?

 
nurichan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic