The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 (Not So) Stupid Questions 6: Comparability of Minimum, Maximum Dimensions
Subject:  This is Swing not Algebra
Date:  2005-11-25 23:08:15
From:  vtec


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.....

 Feed java.net RSS Feeds