class myPanel extends JPanel {

public void paint(Graphics g) {

super.paint(g);

}

}


할 때 public void paint(Graphics g) 에서 메소드 이름을 꼭 paint로 설정해줘야하는 이유가 있음??

어짜피 메소드 안에 paint(g) 가 있으니깐 상관 없는거 아님?

그럼 super.paint(g) 해주는 이유가 뭐임?