repaint 没有调用 paintComponent 我很是纠结~~ 求高人指点啊
代码如下
public class GamePanel extends JPanel{    private Ground ground;
    private Shape shape;
    public void display(Ground ground,Shape shape) {
        System.out.println("game panel's display");
        this.ground = ground;
        this.shape = shape;
        this.repaint();     //@@@@@@@@@@@@@@@@@@@@@
    }
     public GamePanel(){
        this.setSize(300,300);
    }
     public void paintComeponent(Graphics g){   //@@@@@@@
         System.out.println("--------------------------------");
            
     }
}