textField and Button cover all the window
Add each one to a panel - the panel will show the component at its preferredSize and will itself expand to fill the grid cell. This was done in the
getGridTab method of SomeLayouts:
JPanel p = new JPanel();
p.add(getTextField());
panel.add(p);
p = new JPanel();
p.add(getButton());
panel.add(p);