• Post Reply Bookmark Topic Watch Topic
  • New Topic

JavaMediaFramework Question  RSS feed

 
Rick Wallace
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • 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
 
Muhammad Saifuddin
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • 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"
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!