title: GridBagConstraints weightx and weighty values
body: <p>In many books <a href="http://java.sun.com/javase/6/docs/api/java/awt/GridBagConstraints.html#weightx" rel="nofollow noreferrer"><code>weightx</code></a> and <a href="http://java.sun.com/javase/6/docs/api/java/awt/GridBagConstraints.html#weighty" rel="nofollow noreferrer"><code>weighty</code></a> values are expressed in different ways:</p>
  
  <p>some says 0.0 to 1.0
  other says 0 to 100
  other say until 1000</p>
  
  <p>I'm a lot confused.</p>
  
  <p>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?</p>