This discussion is archived
1 Reply Latest reply: Mar 25, 2013 11:19 AM by KonradZuse RSS

How to develop Linear Indicator using Slider

Rahul1981 Newbie
Currently Being Moderated
Hi All,

I am developing a Video Editing software and wanted to develop a Linear Colored Indicator using Slider for Cut-In and Cut-Out.
Can any one help.

The Above URL will clear the requirement.

Please help, I am new to JavaFx and unable to understand how this can be achieved.


Edited by: Rahul1981 on Mar 25, 2013 5:54 AM
  • 1. Re: How to develop Linear Indicator using Slider
    KonradZuse Explorer
    Currently Being Moderated
    So all you want is to have a progress indicator that has different colors based on it's "time in the movie?"

    IMO the way to achieve the color would be to first program your Slider by checking out this tutorial

    Now I believe based on your tick marks, and blocks, you can create a .css file to change the colors of the slider at different intervals. Imo it would be 2 or so different colors(it seems like you have a green section, and a red section) that would be created in the css file, and at the certain tick mark you would have an if statement like
    if(tickMark <10)
    Color = red
    else if(tickMark > 10) // or just else
    You could have have the colors fade in better and such, but that's how I would approach this.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points