This is hard to do with GridLyout. You create wider cells (for example, new GridLayout(2, 2, 10, 30)and then add a TextField to the fist cell. Then you need to create another panel with GridLayout (2, 1), put it in the cell in the second row and add your button in the 1st row of the cell of this nested grid scheme.
Soon you will need a GridLayout in another GridLayout.
. GridBagLayout. , , :). , MigLayout. JDK, , .