• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JavaMediaFramework Question

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
At this site, https://www6.software.ibm.com/developerworks/education/j-jmf/index.html,
there is a tutorial that runs through a few demonstrations regarding JMF. They use a command line to compile, pass arguments through, and run the applications using a command line. I was wondering how you would successfully run the MediaPlayerFrame demo from within Eclipse or NetBeans. Also, how and where you would specify the video file to be played.
Sweats
 
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Rick Wallace:
https://www6.software.ibm.com/developerworks/education/j-jmf/index.html,



The links you write above required authencation for registered user. could you please paste here the code of MediaPlayerFrame and command which you use for the compilation.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think the actual code doesn't matter. The question is about how to run a Java application from within Eclipse or NetBeans, and how to pass parameters to it. I'm only familiar with IntelliJ, so I can't help here. I'd suggest to check the documentation of your IDE for something like "running applications"
 
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In eclipse you can create an runtime application for your program and then it has proper places where you can specify jvm parameters and program commandline arguments.It should be very much the same in all IDE's.
 
Muhammad Saifuddin
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Rick Wallace:

run the MediaPlayerFrame demo from within Eclipse or NetBeans.



For Eclipse

After click on the run button window comes up with 2 panels. There you will find 5 or 7 tabs on the right side panel just click on Argument tab and then write your values in program arguments textarea.. and then run your program from this window.
 
I didn't say it. I'm just telling you what this tiny ad said.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic