How to use JMediaPane from JMC library

Hi everyone,
I actually try to use the JMediaPane component from jmc library with javafx.
I read with jmc we can run many type of movie formats.
But i have some issues...
//somewhere in attributes...
private JMediaPane mediapane = new JMediaPane();
private JMediaPlayer mediaplayer = new JMediaPlayer();
//somewhere in "method start(Stage stage)"
try {
            this.mediaplayer.setSource( new URI("http://blabla.bla/bla.wmv"));
} catch (Exception ex) {
            System.out.println ("Error opening media: "+ex.toString ());
root.getChildren().add(mediaplayer);the line root.getChildren().add(mediaplayer); make me that issue :
actual argument com.sun.media.jmc.JMediaPlayer cannot be converted to javafx.scene.Node by method invocation conversion)If someone can help me, rellay thanks to him.
Robb.

I think you have to integrate javafx with swing and than u can add JmediaPane to fxPanel
check this for integration
http://docs.oracle.com/javafx/2/swing/swing-fx-interoperability.htm#CHDIEEJE

Similar Messages

  • HT201317 how to delete photos from photo library iphone4s

    how to delete photos from photo library iphone4s?

    Nope I am using the same Photo Library, not the camera roll and by the looks of it you don't have your iphone updated to the newst version because I have an extra field in the bottom bar for photostreaming.
    When I go in any of the above folders I can remove pictures as well as you can see in the pictures below!?
    Hope this helps...

  • How to delete video from iTunes library? del and shift+del are not working - no any reaction

    how to delete video from iTunes library? del and shift+del are not working - no any reaction.

    seb963 wrote:
    Hi
    Currently, iMatch is turned off on my computer, as I do not want to upload any more songs. If I turn it on, will it upload all songs that are currently in my library? Is there another way that deleting them one by one?
    You must enable iTunes Match on the new computer. The best way to accomplish what you want to do is to create a new, empty library by launching iTunes while holding down the Option key (Shift on Windows) and choosing "new library." Do not let iTunes scan for new content, but do enable iTunes Match on the empty library. Once the scan is finished you may delete tracks from the cloud. When you are done switch back to the main iTunes library.

  • HT201317 How to delete photos from photo library?

    How to delete photos from photo library?

    Connect your device to your computer, open iTunes, go to the Photos tab of your iTunes sync settings, uncheck the folder containing the photos you want to remove (or to remove them all, uncheck "Sync Photos"), then click Apply at the bottom to sync your device.  If you only want to remove individual photos rather than the entire folder, move them out of the folder on your computer, then sync.

  • HOW TO USE CLIPS FROM A DVD???

    HOW TO USE CLIPS FROM A DVD???
    i know this may be a stupid and obvious question but i can't seem to figure it out.
    these are not copyrited dvds... mostly home movies and old home movies put onto dvd.
    thank you... much appreciated.

    Studio X has given one suggestion.
    MPEG Streamclip is another:-
    http://www.squared5.com/
    It is free but your computer may not have the QT MPEG 2 Playback Component which costs $20 from Apple as a download.
    If you have access to an Analogue-DV converter you can use that. Also a DV camcorder which has Analogue IN.
    If you have Final Cut Pro installed, you will have the QT component.
    Message was edited by: Ian R. Brown

  • Does anyone know how to use vlookup from a pop up menu to retrieve another pop up menu?

    Does anyone know how to use vlookup from a pop up menu to retrieve another pop up menu?

    BM,
    Pop-Up menu format is not dynamic. It is created in the Cells Inspector and can't be modified contingent upon the state of other cells.
    You could program a table to list the options available for the previous selection, but it wouldn't be in the form of a Pop-Up.
    Jerry

  • How to use a single iPhoto Library from multiple macs

    I'm trying to help my brother out with his iPhoto Library and his Mac network.  He has a Library on a MacBook Pro that is about 65GB.  I am moving it to his Mac Mini to make it the primary Library.  What he wants to do is be able to load new photographs from any Mac in his house and have them appear in the primary Library.  If I make the Mac mini shareable and point iPhoto on each of his Mac's to the Library on the Mac Mini, will that work?
    Are there any down sides to doing it this way?  Can you create multiple Libraries for iPhoto, the other thing we are thinking about is to organize his Library by years.
    Thanks
    Elliot

    What do you mean by "make the Mac mini shareable"?
    Iphoto is not really designed for this kind of use, but there are some possibilities - with limitations.
    I'm assuming you want to use the same library for each machine, so there is only one.
    Put the Library on a disk formatted Mac OS Extended (Journaled) and set to ignore ownership and permissions.
    Then point each machine at it in turn.
    Remember only one machine can access the Library at a time, and attempting to do so with multiple machines can cause damage.
    How are you connecting to the Library? A strong warning: If you're trying to edit the Library (that is, make albums, move photos around, keyword, make books or slideshows etc.) or edit individual photos in it via Wireless be very careful. Dropouts are a common fact of wireless networking, and should one occur while the app is writing to the database then your Library will be damaged. Simply, I would not do this with my Libraries. 
    Regards
    TD

  • How to use iMovie with Aperture Library from an external drive?

    Hey,
    Some problems:
    1. My first video, I stored the project on my own laptop and used the library from the HD. This seems to give some problems, but I now figured out I have to consolidate the media etc. so now my files don't get missing after unplugging the harddrive. I figured it would be a better idea to make all new projects on the HD, so I have everything in place all the time. BUT. look at the picture: there seems to be something wrong with the way iMovie recognizes the aperture library: i'ts not listed in the events library under the HardDisk (named Passport) but under my own drive... ??? (+ I don't understand the idea of events when I have my aperture library: Do I need to make events for all projects I make? how is this possible when the library is not in the correct position?)
    2. I made a movie, but I'm unable to export a large/high quality version of this project. That's why I want to move my project to the HD and then open it on my partners Mac Book Pro to make a good export. Unfortunately, his macbook doesn't recognize the files and the files can't be opened in iMovie... (files stay gray and unclickable)
    To sum it all up:
    I want the best way to work with this set-up: mac book air, external drive with all my files and iMovie.  And I want to be able to open the project on a different computer to make high quality exports.

    First thing that comes up with videos in your 'picture' library is the videos are always under the full control of the picture library program. Which means Aperture is the keeper and master, and it decides what will be displayed in iMovie's Event Library. If Aperture is having difficulties sometimes it cannot or will not display the videos you are storing there.
    Right now, I think the problem is your Aperture Library is on the internal Mac HD, not the external. You would have to move Aperture's Library to the external HD (along with all the pictures and videos). Then try to add the videos back into a project.
    In extreme cases I have recommended moving the videos out of the picture library and re-importing them into iMovie Event folders to let iMovie manage it.

  • Erasing unused, (never-to-be-used) images from the Library. How, please?

    Is there a way to Globally-Delete a subset of, or all of, the images in the Library? I want to erase all images that are NOT being used in a Album, Slideshow, or Book.
    I take many near-duplicate shots and later select only one or two for use. The accumulated never-to-be used images are becoming overwhelming. doing it manually will take many hours and there is no way to be sure that a Library image is not used in a Album, Slideshow or Book...at least that I am aware of.
    I really do not need to keep 8445+ images in the Library
    Many thanks,
    Fred

    Make a smart album - album is not any
    and delete from there in groups of 100 or so emptying the iPhoto trash for each group - command-option-delete deletes photos from the library while you are in an album -- or you can flag 100 or so and control-option-delete deletes flagged photos
    LN

  • How to use one I-tunes library with multiple windows users (family) on 1 pc

    On our family pc we log in with different accounts. We want to use I-Tunes but all have the same library. I tried to create a library not in the users directory, but in the All Users folder that is accessible for everyone. However, when I import the music in the library for one user and set the same location for another user, I-tunes does not recognize the library. So everyone has to create it's own library.
    What are the best practices to overcome this?

    Keep in mind that what you have done now is you have multiple iTunes libraries accessing the same media folder. Meaning, that each account can have their own ratings, playlists, etc. but more importantly, each account does NOT know what the other account does, so if your daughter adds a CD to her account, it will go into the shared folder, but it will NOT automatically go into your wife's iTunes library. She would have to add it manually. Likewise, if one account deletes music from their library and tells iTunes to remove it to the trash, the other accounts will not know and iTunes will still try to access the file from the shared location even though the file is now trashed.
    Each account has their own database files (.itl files in the iTunes folder) which stores this stuff.
    If you want to have everyone use the exact same library which means the same ratings, playlists, etc. then you need to move the database files into that same location and set each iTunes account to read the same data.
    How to open an alternate iTunes Library file or create a new one
    http://docs.info.apple.com/article.html?artnum=304447
    Patrick

  • How to delete video from iTunes library

    Hello, I've only had my ipod for a few weeks now. I've finaly figured out how to rip dvds/encode them, etc. During this trial and error period I was putting all kinds of junk in my itunes library.
    My question is how to remove videos from my itunes library.
    ..one more question.
    I've been using a dvd ripper and video converter made by Xilisoft. After I import the movie from my pc to itunes video library and ipod, I've noticed that the audio doesn't match up with the video. Its like watching a poorly dubbed kung fu movie. Has anybody used Xilisoft software and had the same problems? If so, what did you do to recify the problem?
    Thanks in advance for any help.
    self-built   Windows XP Pro  

    OK, I finally figured it out. I still don't have the clear option available. I had to double click on video, highlight, then press delete.
    I'm curious why I don't have a clear option like I do in library.
    Oh well, at least I can delete old files from my itunes now.
    Thanks for the quick responses.

  • How to move pics from "picture library" to created folder

    Just started using 9310 (from 8330) with new SD card. Have a few pics on it and can't figure out how to transfer a photo in "picture library" into a newly created folder. Was so easy on 8330 with simple "move into folder" option... HELP! Thanks!

    Hello equipagekm, 
    Welcome to the forums.
    The option to move to folder will not be present but what you can do is choose the "cut" option and then once in the new folder hit the menu key and choose "paste".
    Hope this helps. Let us know if you need anything else.
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • How to sync pictures from "Photo Library" on iphone 4 to computer to manage them?

    This is my senerio! I recently got an iPhone 4...before this phone, i had a Droid through Verizon. Yet, this iPhone 4 service is still through Verizon. When i got the iPhone, i wanted all my pictures from my old phone, the Droid, on this iPhone. The people at Verizon transferred them over. Those pictures were put into the "Photo Library" of my iPhone. I only have say...about maybe 200 pictures. They were all duplicated, many many times! So now i have over 800 of the same pictures in my "Photo Library" how do i delete the duplicates?? I've noticed i cannot delete pictures using the trash can through "Photo Library" you have to be in the Camera Roll to do so. Here are my big questions...
    1. How do i delete pictures off my phone through "Photo Library" without deleting them all?!
    2. How do i get the photos from "Photo Library" onto my computer, or iTunes to be able to manage them?!
    I want to pick and choose then delete. I do not want to delete my WHOLE Photo Library.
    Again, remember, i never got these already photos from a computer, i got them from another phone!
    Someone, please help me! This is so ridiculous!

    The photo sync is one way - computer to iphone.
    You ould have to e-mail them to yourself.  When you sync photos to your iphone the current pics will be deleted.
    The iphone is not a storage device, it simply mirrors the selected content of your computer.

  • How to use the d3.js library with Apex Charting

    Hello.
    I am using Apex 4.1.0 with Oracle 11gR2 and Oracle App Server (mod_plsql).
    I'm trying to incorporate the d3.js library (a visulaization framework) in my Apex charts but am not having much success.
    I found this article in which David Mann uses the library within an Apex 4.x application:
    http://ba6.us/d3js_application_express_basic_dynamic_action
    I replicated his exact steps in my own application but without success. I do not see how he was able to get his application to work. Indeed, the tutorial does not even use a dynamic action despite what the article title says.
    Has any one used the d3.js library with their Apex application. If so, would you be willing to share how you went about it?
    Thank you very much.
    Elie

    EEG wrote:
    Hello fac586.
    Thank you very much for responding/helping.
    In the article I referenced I did note David's statement about using a "modern" browser with d3.js (one that recognizes css3 syntax); otherwise, the framework will not respond. And so, I was careful to run my Apex application in IE9.x as well in Firefox 16.x. But all I see is an empty region with a title. No chart. Nothing.
    I suspect my one of my problems here is in getting the chart to refresh every "n" seconds. For this, I think the dynamic action would be used, though I'm not sure how to go about doing so.That's included in the sample code (line 99). Strangely Dynamic Actions don't seem to include a native timer event...however there is a plug-in.
    More problematic, though, is that I am not seeing any chart whatsoever in the region. I would have expected to see some chart data, even if it is not automagically refreshing.
    I've created my example in my EEG workspace on apex.oracle.com:
    Workspace: EEG
    Username: [email protected]
    Password: galaxy (note: all lowercase)
    Please see application 27083 called Elie_Goodies, page 25. This page has an associated tab called, appropriately enough, "d3.js Library". The Safari console showed a couple of JavaScript errors.
    1. The URL used to include the d3 code in the blog article:
    <script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script>is returning HTML, not JavaScript. Changing it to that given on the d3js.org site:
    <script src="http://d3js.org/d3.v2.js"></script>includes the correct script.
    2. There was a syntax error in a script in the Run Code region. I think there was some kind of issue arising from copying from the blog article: it looked like line endings hadn't been respected as the code wasn't formatted properly. Pasting it from the blog into Coda's editor and then into the APEX Region Source text area fixed the format, and it then ran first time.
    Thanks for the heads-up. I'll also be looking further into d3.

  • How to Use the Sun Fortran Library

    I wish to use the Sun Fortran Library of functions, but I am having trouble compiling my program. I would appreciate some help on selecting the proper compiler options, code modifications, etc.
    My OS is Fedora 10 on a 64-bit system. I use the latest Sun Studio Express. I have used the Sun f95 compiler for quite some time as well, but this is my first use of one of the functions from the Sun Fortran Library.
    Here is my first attempt after doing some unsuccessful research of my own on this issue:
    PROGRAM test
    IMPLICIT NONE
    REAL*8 x, y
    REAL*8, EXTERNAL :: d_lgamma
    x=2.0
    y=d_lgamma(x)
    y=EXP(y)
    WRITE(*,*) x, y
    END PROGRAM test
    Here's how I tried to compile:
    f95 -lm test.f95test.o: In function `MAIN_':
    test.f95:(.text+0x91): undefined reference to `d_lgamma_'
    Obviously I am not doing this correctly. Is it possible that the Sun compiler and libraries have not been installed correctly on my system? How can I test if this is case?
    Thank you for your help with this matter.

    The routine d_lgamma_ is not supplied as part of Sun's Fortran product.
    Sun's Fortran team does not maintain the library that contains that
    routine. The team that does support the library has not yet ported it to
    Linux. Different teams have different priorities.
    In this case, there is a simple workaround. The C routine
    #include <math.h>
    double
    d_lgamma_(double *x)
    return (lgamma(*x));
    implements the routine d_lgamma_.
    Bob Corbett

Maybe you are looking for

  • Reinstalling Tiger: Software Update Missing Many Updates

    I've seen a few similar topics on this issue, but only in so far as Software Update missing an update here or an update there. I am currently reinstalling Tiger on a Power Macintosh G3 B&W that has been heavily upgraded. The system specs are as follo

  • Hp designjet 500 printing issue

    I have a designjet 500 24 inch printer.  I just switched from a hp vector windows 2000 platform to a Dell optiplex 360 windows xp pro version 2002 service pack 3 platform and my printer starts to print the first few lines and then stops.  I initially

  • How do I add a 5 second black transition?

    How do I add 5 seconds of black frame to the beginning of my clip without covering up my video? I was wanting the "fade to black" transition, but wanted the black to last longer. I am using Premiere Elements 12. I thought about taking a picture of so

  • Cannot connect my samsung smart tv

    Hello, we have a HH 2.0 and have recently bought a samsung smart tv. I am trying to connect the tv to the hub use homeplug adapters. When i try to setup the network on the tv it detects that the cable is plugged in but cannot access the network becau

  • Screen capture in J2ME

    Hello, Is there a way to get a screen capture on a mobile device of the current display in J2ME? Does anyone know how to do this (even if it is another way)? Thanks in advance.