removed the FlowLayout and made everything fixed.