As quuba said, you have declared panelCenter2 but you are still adding the JButtons jn4, jn5 and jn6 to panelCentre1 - which is positioned using BorderLayout.CENTER. Hence why your last three buttons are not positioned in the SOUTH. One of the pitfalls of "copy and paste" ! P.S. also, please use [CODE=java] tags - it makes reading code so much easier.
Reputation Points: 256
Solved Threads: 72
Nearly a Posting Virtuoso
Offline 1,306 posts
since Oct 2007