Retrieves a boolean value indicating whether the trackbar automatically adjusts its size to fit the size of the slider.
public boolean getAutoSize()
Returns true if the trackbar adjusts its height (for a horizontal trackbar) or width (for a vertical trackbar) to fit the slider; otherwise, returns false.
See Also setAutoSize