import java.awt.*;
import javax.swing.*;

public class FiveButtons extends JFrame{
 protected JButton b1, b2, b3, b4, b5;

 protected JButton c1, c2, c3, c4, c5;
 JPanel center;
 
 public FiveButtons(){
        super("보더 레이아웃");
  b1 = new JButton("Center");
  b2 = new JButton("South");
  b3 = new JButton("North");
  b4 = new JButton("West");
  b5 = new JButton("East");

  c1= new JButton("center");
  c2= new JButton("South");
  c3= new JButton("North");
  c4= new JButton("West");
  c5=new JButton("East");
  
  
  getContentPane().setLayout(new BorderLayout());
   
  getContentPane().add(b2, BorderLayout.SOUTH);
  getContentPane().add(b3, BorderLayout.NORTH);
  getContentPane().add(b4, BorderLayout.WEST);
  getContentPane().add(b5 ,BorderLayout.EAST);
  
  center= new JPanel();
  
  getContentPane().add(center, BorderLayout.CENTER);
  
  center.add(c1,BorderLayout.CENTER);
  center.add(c2,BorderLayout.SOUTH);
  center.add(c3,BorderLayout.NORTH);
  center.add(c4,BorderLayout.WEST);
  center.add(c5,BorderLayout.EAST);
  

  
  
  setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  setSize(300,200);
  setVisible(true);
 }

 public static void main(String args[]){
   FiveButtons fb = new FiveButtons();
 }
}

빨간 네모칸 안을 보더 레이아웃으로 만들고 싶은데

아무리 해도 왜 난 자꾸 플로우 레이아웃이 되는 거지 ㅠㅠㅠ

도움!