title: Fixed size of panel in frame
body: <p>I have added some components to <code>JPanel</code> which is set to grid layout, and I'm adding this to <code>JFrame</code> which is set to border layout.  But I want to fix the size of the panel. When my window is maximized, the size of all components are increasing. I want the panel at the <strong>center</strong> of the window, with <strong><em>fixed size</em></strong> even if window is maximised.</p>