Minimum, Prefered and Maximum sizes are just hints.
You can configure your components with whathever values of min, pref and max size you want.
Your actual container widget and its size and layout decides whether to use these values, which of them, how to you them or whather to ignore them completely.
Each Swing Layout Manager IS DIFFERENT in a way how it handles min / pref /max size.
Just compare SpringLayout and BoxLayout..... |