Jbutton Scroll -Liste vollständige Breite Größe

JPanel panel = getContentPane();
panel.setLayout(new GridLayout(-1, 1));

JButton button = new JButton("Test!");
panel.add(button);
Cirex