I want to make a table witch can contain small tables and supports resize. 
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).
How i can solve the resize problem? When i resize the window the column align automtically with the window.
My code is here.

The columns are not aligned correctly in the big table.
I see there J(X)TreeTable or Outline with Custom Look and Feel (Renderer talking about Nimbus L&F, because isn’t there correctly used background for Boolean value)
put JComponents (from top) top the JPanel and there use GridBagLayout
put JScrollPane with J(X)TreeTable or Outline put to the Center area
please which type of TreeTable is there used ??? (for calculating PreferredSize of Columns)
EDIT
JFramehas implementedBorderLayoutin the API, thenall
JComponents from theTOP of the JFrameput to the separateJPanel, there you can useGridBagLayout, thisJPanelput to theNORTH areae.g.JFrame.add(JPanel, BorderLayout.NORHT)put
black boxto the CENTER area e.g.JFrame.add(black box, BorderLayout.CENTER)