title: JSplitPane splitting 50% precisely
body: <p>In Swing,
  what's the best way to make the JSplitPane to split two jpanels with 50% size each.</p>
  
  <p>It looks like if I don't set preferred sizes on the panels it always makes the first panel almost invisible (2%) and the second one (98%)</p>
  
  <p>Thanks in advance</p>