There are 4 sizes:
I can't understand their relationship. My guess is:
1. No size could be greater than MaximumSize and if you went above Maximum Size java would reset your value to Maximum Size.
2. No size could be less than Minimum Size and if you went below Minimum Size java would reset your value to Minimum Size.
3. Preferred Size is size that is used if you don't set the size.
4. Size is the current size.
But that is not the way the process works. Java always uses the Preferred Size on a JScrollpane no matter what the other values are.
What am I missing? Thank you.