changed Layout of Frame to BorderLayout