• 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:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!