Using JMF with SWT

I am developing a eclipse RCP application which makes use of the SWT toolkit. The application would be playing some media files. So i would like to make use of the JMF media player within SWT . How can I do this?
[219 byte] By [bharathga] at [2007-11-27 5:54:59]
# 1
I also want a media player in an eclipse rcp application.. is jmf fully working with swt?
muldergra at 2007-7-12 15:50:06 > top of Java-index,Security,Cryptography...
# 2

Ok it's all a matter of what run as SWT application do

it sets -Djava.library.path to the path of the SWT dlls

so we can make it point to the jmf Dlls path

goto Run..>Arguments>VM Arguments

then add

-Djava.library.path=.\\jmfdlls

where jmfdlls is folder contains ALL DLLs inside your project

or easily if you have installed jmf by installer

-Djava.library.path=C:\\WINDOWS\\system32

I tried it it works

Note : this is applied when using any library that use native codewith swt e.g. jacob

this solution is from this thread

http://eclipsezone.com/forums/thread.jspa?threadID=80055

And this

http://eclipsezone.com/forums/thread.jspa?threadID=28020

amgada at 2007-7-12 15:50:06 > top of Java-index,Security,Cryptography...