actually earlier i used "BorderLayout"....
but i put all my 3 buttons in south....
but i got only 1 button covering the whole south part of the frame....
and when i maximise my window it showed me all the buttons....
so that's why i decided to move them by myself....