Now I can set the position of the Grid with a FlowLayout.