slide = new JSlider( SwingConstants.HORIZONTAL, 0, 100, 79 );
The small vertical lines that calibrate a slider are called tick marks. The longer, thicker marks are major ticks and the thinner marks are minor ticks. The major ticks can be labeled. The spacing between major ticks is set with:
and between minor ticks with:
spacing is in terms of the numeric values
of the slider.
Bug Note: To have ticks and labels show up on
the display, you must call