The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 How to Write a Custom Swing Component
Subject:  Using LayoutManager(s) existed instead of inventing a new one
Date:  2007-03-27 15:37:57
From:  kirillcool
Response to: Using LayoutManager(s) existed instead of inventing a new one


I'm not a big expert in the GridBagLayout (in fact, i never used it:), so i have a question for you. What happens when you resize the slider? For the discrete ranges, the distance between the neighbour labels should stay the same. The additional height should be distributed proportionally (according to the range weight) between the contiguous ranges. Is this handled by the GridBagLayout?

 Feed java.net RSS Feeds