i need all those buttons in the north but they over lap?
posted 6 years ago
wes leon wrote:i need all those buttons in the north but they over lap?
Read the BorderLayout tutorial and you'll see why. Only one component should be placed in a Container's BorderLayout.NORTH position. If you want a bunch of buttons on the north side, put them in a JPanel(s) (using whatever layouts is/are necessary) and add that JPanel BorderLayout.NORTH.