• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Embedding a video into a java app

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi people, I'm quite new to java and I'm currently studying it in uni but I have a problem.

I have a task where I have to find out how to embed a video into a java app using JMF, netbeans and swing,
Basically I'm just looking for someone to point me in the right direction of where to start or how to go about it, any help is much appreciated, thanks.
 
Rancher
Posts: 43028
76
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
An archive of the JMF sample code is available here. It includes the MDIApp class, which is a simple desktop media player.
 
Gav Mundo
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for the help guys, I'm going to take a look at them links now.

And I've had a look at the MDIApp class but I don't really know what to do with it, sorry I'm really new to this.
 
Ulf Dittmer
Rancher
Posts: 43028
76
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

And I've had a look at the MDIApp class but I don't really know what to do with it


It's an application - you can compile and run it.
 
Gav Mundo
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:

And I've had a look at the MDIApp class but I don't really know what to do with it


It's an application - you can compile and run it.



I know but I don't know how to compile and run it, do I have to create my own class and compile it with that? I'm so lost.
 
Ulf Dittmer
Rancher
Posts: 43028
76
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
MDIApp *is* a class. With all due respect, if you're confused about what is a class, and how you might go about compiling and running a one-class Java application, I suggest that you leave JMF well alone, and concentrate on learning the basics. Start here: http://download.oracle.com/javase/tutorial/, in particular the "Getting Started " section.
 
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic