title: How to arrange the Components in multiple rows in a Scrollpane
body: <p>I need to add about 600 Images to a Scrollpane, but all the Images are arranged side-by-side</p>
  
  <p><img src="https://i.imgur.com/ihrnXiM.jpg" alt="Screenshot"></p>
  
  <pre><code>public CollectionPanel(Controller controller)
    this.setBackground(Color.white);
    this.setLayout(new BorderLayout());
    JPanel content = new JPanel();
    content.setLayout(new FlowLayout());
    JScrollPane scrollPane = new JScrollPane(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
    for(int i = 0; i &lt; 100; ++i){
      content.add(new Sticker(i+1)); 
    }
    scrollPane.setViewportView(content);
    this.add(scrollPane, BorderLayout.CENTER);
  }
  </code></pre>
  
  <p>How is it possible to arrange them to make a "linebreak" when they reached the end of the screen?</p>