GridBagConstraints weightx and weighty values

Posted by xdevel2000 on Stack Overflow See other posts from Stack Overflow or by xdevel2000
Published on 2010-06-09T15:07:25Z Indexed on 2010/06/09 15:12 UTC
Read the original article Hit count: 129

Filed under:
|

In many books weightx and weighty values are expressed in different ways:

some says 0.0 to 1.0 other says 0 to 100 other say until 1000

I'm a lot confused.

In the API these variables are double types so I think the first is correct but what does it meaning a value of 0.4 or 0.7? are percentage values, point values? relative of what?

© Stack Overflow or respective owner

Related posts about java

Related posts about swing