public Hashtable createStandardLabels (int increment, int start)

Creates a Hashtable of numerical text labels, starting at the starting point specified, and using the increment specified. For example, if you call createStandardLabels( 10, 2 ), then labels will be created for the values 2, 12, 22, 32, and so on.

For the labels to be drawn on the slider, the returned Hashtable must be passed into setLabelTable, and setPaintLabels must be set to true.

For further details on the makeup of the returned Hashtable, see the setLabelTable documentation.

Parameters:
increment    distance between labels in the generated hashtable
start    value at which the labels will begin

Returns:  a new Hashtable of labels

Exceptions:
IllegalArgumentException    if start is out of range, or if increment is less than or equal to zero

See also:
setLabelTable, setPaintLabels