title: How to adjust the grid size after resizing the frame?
body: <p>I was wondering the following: I have a MainWindow component (which contains a frame (JFrame)) and several other JPanels. Where one JPanel, let's say gridPanel uses the gridLayout as LayoutManager. Now my problem is that I want to adjust (set the size of rows / set the size of columns) after the window has been resized. Can someone tell me how I can achieve actions that can be triggered after resizing the frame as I am not familiar with the listeners involved.</p>
  
  <p>It should be the done on the most "standard" coding practices. Thank you for your response and answers!</p>