Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-26-2008, 07:37 AM
Member
 
Join Date: Jun 2008
Posts: 6
nathanr_kamal is on a distinguished road
jmf & JSlider
hi friends,
i need a help,my scenario is i have a JSlider,which is corresponding with video playing in the player(JMF).i dont know how to connect this two. (i.e) slider marker will move corresponding to media playing.if playing is stoped slider will not move like wise...

please any body help me

thanks 'n' regards

Kamalanathan R.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-26-2008, 09:19 AM
Niveditha's Avatar
Senior Member
 
Join Date: May 2008
Posts: 299
Niveditha is on a distinguished road
Send a message via Skype™ to Niveditha
Hello Kamal,
Following is the code form sun. Check if it helps...
JSlider for movie.txt
__________________
To finish sooner, take your own time....
Nivedithaaaa
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 06-26-2008, 09:36 AM
Member
 
Join Date: Jun 2008
Posts: 6
nathanr_kamal is on a distinguished road
thanks
hi nivet,
thanks for your reply,and i need few more help from you.if u r strong in JMF please guide me... i'm a beginner to this jmf.

* i have a problem with rewind.rewind means playing in reverse fast like a
video tape (i.eld vcr).
* and reffer any ebooks(free) for JMF and websites..this is very important

thanks 'n' regards
kamal
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 06-26-2008, 11:52 AM
Niveditha's Avatar
Senior Member
 
Join Date: May 2008
Posts: 299
Niveditha is on a distinguished road
Send a message via Skype™ to Niveditha
Hello Kamal,
I am NIVEDITHA and not nivet

For ur rewind problem,you will probably need to call getControls() and geVisualComponent() and assemble the GUI yourself.
this link will help you.
Java Media Framework - playing an audio file from applet

e-books i really dont know and for websites,do a google for jmf guide or jmf tutorial,few of them are

1. Java Tutorial: Playing Video and Other Media with the Java Media Framework
2. Java SE Desktop Technologies - Java Media Framework API (JMF)
3. Java Media Framework Tutorial
4. Program multimedia with JMF, Part 1 - Java World



These are few of the good books but i am not sure if the online books are available or not.
Java - How to Program, 4th ed. (Covers JMF 2.0 and Java Sound)
by Deitel & Deitel
Published by Prentice Hall
ISBN 0-13-034151-7

Core Java Media Framework (Covers JMF 1.0)
by Linden deCarmo
Published by Prentice Hall
ISBN 0130115193

Essential JMF: Java Media Framework (Covers JMF 1.0)
by Gordon and Talley
Published by Prentice Hall
ISBN 0130801046

Programming with the Java Media Framework (Covers JMF 1.0)
by Sullivan, Winzeler, Deagen, and Brown
Published by John Wiley and Sons
ISBN 0471251690
__________________
To finish sooner, take your own time....
Nivedithaaaa
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 06-26-2008, 11:57 AM
Member
 
Join Date: Jun 2008
Posts: 6
nathanr_kamal is on a distinguished road
thanks
hi NIVEDITHA,
now am i right?.thanks for your help.

regards
kamal
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 06-26-2008, 12:38 PM
Niveditha's Avatar
Senior Member
 
Join Date: May 2008
Posts: 299
Niveditha is on a distinguished road
Send a message via Skype™ to Niveditha
Yes u r right...
__________________
To finish sooner, take your own time....
Nivedithaaaa
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 06-28-2008, 08:56 AM
Member
 
Join Date: Jun 2008
Posts: 6
nathanr_kamal is on a distinguished road
once again... JSlider & JMF
dear friends,
i explain once again...

* i would get mediatime and duration is only as long/double.
* in JSlider parameters are integer..
* if using setValue method by type casting it didnot working...
* And important one is the updation of the slider value should be event triggered..and not use of thread,timer...
* because my project is mediaplayer,so i could run all modules..

please any one...
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Scale 2 or more pictures using a JSlider Panchitopro AWT / Swing 4 05-20-2008 05:44 PM
Scale 2 or more pictures using a JSlider Panchitopro New To Java 0 05-05-2008 06:22 PM
How can we zoom a map using JSlider barney AWT / Swing 3 01-04-2008 09:49 AM
How To:Use a JSlider to adjust Text size in a JPanel louiebagz AWT / Swing 2 07-01-2007 08:37 AM


All times are GMT +3. The time now is 06:10 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org