Results 1 to 7 of 7

Thread: jmf & JSlider

  1. #1
    nathanr_kamal is offline Member
    Join Date
    Jun 2008
    Posts
    6
    Rep Power
    0

    Default 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.

  2. #2
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    6

    Default

    Hello Kamal,
    Following is the code form sun. Check if it helps...
    JSlider for movie.txt
    To finish sooner, take your own time....
    Nivedithaaaa

  3. #3
    nathanr_kamal is offline Member
    Join Date
    Jun 2008
    Posts
    6
    Rep Power
    0

    Thumbs up 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.e:old vcr).
    * and reffer any ebooks(free) for JMF and websites..this is very important

    thanks 'n' regards
    kamal

  4. #4
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    6

    Default

    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

  5. #5
    nathanr_kamal is offline Member
    Join Date
    Jun 2008
    Posts
    6
    Rep Power
    0

    Smile thanks

    hi NIVEDITHA,
    now am i right?.thanks for your help.

    regards
    kamal

  6. #6
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    6

    Default

    :) Yes u r right...
    To finish sooner, take your own time....
    Nivedithaaaa

  7. #7
    nathanr_kamal is offline Member
    Join Date
    Jun 2008
    Posts
    6
    Rep Power
    0

    Unhappy 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...

Similar Threads

  1. How can we zoom a map using JSlider
    By barney in forum AWT / Swing
    Replies: 5
    Last Post: 02-23-2009, 01:48 PM
  2. Scale 2 or more pictures using a JSlider
    By Panchitopro in forum AWT / Swing
    Replies: 4
    Last Post: 05-20-2008, 04:44 PM
  3. Scale 2 or more pictures using a JSlider
    By Panchitopro in forum New To Java
    Replies: 0
    Last Post: 05-05-2008, 05:22 PM
  4. How To:Use a JSlider to adjust Text size in a JPanel
    By louiebagz in forum AWT / Swing
    Replies: 2
    Last Post: 07-01-2007, 07:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •