[Solved] Displaying a grid as 2 parts in java


Use a JFrame with a BorderLayout.

  1. In the BorderLayout.PAGE_START you add a panel with one grid
  2. In the BorderLayout.CENTER you add the label
  3. In the BorderLayout.PAGE_END you add the second panel.

Read the section from the Swing tutorial on How to Use a BorderLayout for more information and working examples.

3

solved Displaying a grid as 2 parts in java