• Meet our first JavaFX component

    by  • October 4, 2011 • JavaFX, JIDE

    Now the JavaFX 2.0 is formally released, we will start to roll out some JavaFX components. Our first component is RangeSlider. The Swing RangeSlider is available in the open source JIDE Common Layer (http://jide-oss.java.net). Now we got one for JavaFX. RangeSlider is a slider that has two thumbs. So instead of choosing one value, it can choose two values to form a range.

     

    We will call this project JideFx as I announced one year ago on JavaOne2010. The binary jar is at http://www.jidesoft.com/jidefx/downloads/jidefx-0.1-SNAPSHOT.jar. Before we decide the licensing terms for it, it is free to use without any obligation.

    Here is how you use it.

    RangeSlider rangeSlider = new RangeSlider(0, 100, 10, 90);
    rangeSlider.setStyle("-fx-skin: \"com.jidefx.scene.control.skin.RangeSliderSkin\"");