[Solved] Displaying a grid as 2 parts in java

[ad_1]

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

[ad_2]

solved Displaying a grid as 2 parts in java