You can't do that with FlowLayout
. You can add new components horizontally or vertically one by another, but you can't to add component to specific position. You can try to use some tricks with blank panels or labels for spaces before/after your JTable
, but better to use another layout.
Try to use BorderLayout
, it's simple and with help of that, you can positioning your JTable
in different places. Read tutorial for that.
Or you can use another LayoutManager
, read about them and choose.