question: private static JValueSlider createField ( Force f , int param ) { double value = f . getParameter ( param ) ; double min = f . getMinValue ( param ) ; double max = f . getMaxValue ( param ) ; String name = f . getParameterName ( param ) ; JValueSlider s = new JValueSlider ( name , min , max , value ) ; s . setBackground ( Color . WHITE ) ; s . putClientProperty ( "force" , f ) ; s . putClientProperty ( "param" , new Integer ( param ) ) ; s . setPreferredSize ( new Dimension ( 300 , 30 ) ) ; s . setMaximumSize ( new Dimension ( 300 , 30 ) ) ; return s ; }
target:  Create an entry for configuring a single parameter.