This week's giveaway is in the Beginning Java forum.
We're giving away four copies of Bad Programming Practices 101 (e-book) and have Karl Beecher on-line!
See this thread for details.
Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

to show a video on button click  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in the action performed event on a button(on click),I need to show a existing video clip onto the GUI screen,can I directly specify the path of the existing clip within that method or should I need to do some processing on it?
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as I know Swing or AWT does not support playing of media information. The solution is to refer to Java Media Framework API or any open source library You like. Be careful, some open source java libraries might not be compatible with OS, your product will run on (the graphic is hardware dependent issue). Also while selecting library pay an attention to format of the video.
 
gurappa jai
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Pavel Cherkashin:
As far as I know Swing or AWT does not support playing of media information. The solution is to refer to Java Media Framework API or any open source library You like. Be careful, some open source java libraries might not be compatible with OS, your product will run on (the graphic is hardware dependent issue). Also while selecting library pay an attention to format of the video.



thanks
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!