public void init(Board board) {
 
		JPanel Panel = new JPanel();
		Panel.setLayout(new GridLayout(board.getWidth(), board.getHeight()));
		getContentPane().add(Panel, BorderLayout.CENTER);
		Panel.setBorder(new LineBorder(Color.BLACK));              // it does not work also
 
		bottomPanel = new JPanel(new FlowLayout());
		bottomPanel.setSize(1000, 100);
		bottomPanel.setBackground(Color.darkGray);
		getContentPane().add(bottomPanel, BorderLayout.SOUTH);
 
		t1 = new JButton();
		t2 = new JButton();
		t3 = new JButton();
 
		JPanel kit = new JPanel();
		kit.setSize(400, 90);
		bottomPanel.add(kit, BorderLayout.WEST);
 
		kit.add(t1);
		kit.add(t2);
		kit.add(t3);
	}

I have a JFrame. I added two JPanels to the JFrame. The first one is GridLayout and it should be situated at CENTER. Another one is bottomPanel, and that one should be situated at SOUTH.
I would like to add two new JPanels(kit and another one) to the bottomPanel.

Compiler does not show any warning or errors.

The problem is, that bottomPanel situates at NORTH, not at SOUTH. kit situates at CENTER of bottomPanel, not at WEST.

How to resolve it?

Thanks for your suggestions.

Regards.