Code example for JSlider

Methods: setMaximumsetMinimumsetPaintTicks

0
    return valueSlider.getPaintTicks();
  } 
 
  public void setPaintTicks(final boolean b)
  { 
    valueSlider.setPaintTicks(b);
  } 
 
  public void setSnapToTicks(final boolean b)
  { 
    valueSlider.setSnapToTicks(b);
  } 
 
  public boolean getSnapToTicks() 
  { 
    return valueSlider.getSnapToTicks();
  } 
 
  public Action getCancelAction()
  { 
    return cancelAction;
  } 
 
  public Action getConfirmAction()
  { 
    return confirmAction;
  } 
 
  public void setIcon(final Icon icon)
  { 
    this.icon.setIcon(icon);
    this.icon.setVisible(icon != null);
  } 
 
  public Icon getIcon()
  { 
    return icon.getIcon();
  } 
 
  public String getMessage()
  { 
    return message.getText();
  } 
 
  public void setMessage(final String message)
  { 
    this.message.setText(message);
  } 
 
  public int getSliderValue() 
  { 
    return valueSlider.getValue();
  } 
 
  public void setSliderValue(final int n)
  { 
    valueSlider.setValue(n);
  } 
 
  public int getMinimum() 
  { 
    return valueSlider.getMinimum();
  } 
 
  public void setMinimum(final int minimum)
  { 
    valueSlider.setMinimum(minimum);
  } 
 
  public int getMaximum() 
  { 
    return valueSlider.getMaximum();
  } 
 
  public void setMaximum(final int maximum)
  { 
    valueSlider.setMaximum(maximum);
  } 
 
 
  public boolean isConfirmed() 
  {