Bekommst du es nicht gebacken einfach von meinem Letzte Source Code abzuschreiben ? buttonPanel.setLayout(new BoxLayout(buttonPanel, BoxLayout.Y_AXIS))