actually the code works when i first setLayout(BorderLayout) and then change it to FlowLayout ... see code below ...
the results is a frame with the Buttons are arranged in a line in the order (From left to right) "South","West","East","North" and "Center".
i.e. FlowLayout