 <p>You can</p> <ul> <li>Avoid using GroupLayout</li> <li>Instead allow the JFrame's contentPane to retain its default BorderLayout</li> <li>And then add the your main JPanel to the JFrame's contentPane in the BorderLayout.CENTER position.</li> </ul> <p>Please ask or comment if any of this is confusing or wrong.</p>