title: Java table in table with auto resize
body: <p>I want to make a table witch can contain small tables and supports resize. <img src="https://i.stack.imgur.com/DXELr.png" alt="enter image description here"></p>
  
  <p>My solution use a JScrollpane wich contains the table and the gridbaglayout contains the row which is a JPanel and this row JPanel contains JLabels and ETable (flowlayout).</p>
  
  <p>How i can solve the resize problem? When i resize the window the column align automtically with the window.</p>
  
  <p>My code is <a href="http://pastebin.com/4k6PSDk2" rel="nofollow noreferrer">here</a>.</p>
  
  <p><img src="https://i.stack.imgur.com/LpHpd.png" alt="enter image description here"></p>
  
  <p>The columns are not aligned correctly in the big table.</p>