public JValueSlider(String title,Number min,Number max,Number value){
  m_min=min;
  m_max=max;
  m_value=value;
  m_slider=new JSlider();
  m_label=new JLabel(title);
  m_field=new JTextField();
  m_listeners=new ArrayList();
  m_field.setBorder(null);
  setSliderValue();
  setFieldValue();
  initUI();
}

public JValueSlider ( String title , Number min , Number max , Number value ) { m_min = min ; m_max = max ; m_value = value ; m_slider = new JSlider ( ) ; m_label = new JLabel ( title ) ; m_field = new JTextField ( ) ; m_listeners = new ArrayList ( ) ; m_field . setBorder ( null ) ; setSliderValue ( ) ; setFieldValue ( ) ; initUI ( ) ; }
create a new jvalueslider .
