Win a copy of Learning Regular Expressions this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!