void drawDisk(Graphics g,int playerNum){
  int size=Math.min(getWidth(),getHeight());
  g.setColor(playerNum == 1 ? Color.RED : Color.YELLOW);
  g.fillOval((getWidth() - size) / 2,(getHeight() - size) / 2,size,size);
}

void drawDisk ( Graphics g , int playerNum ) { int size = Math . min ( getWidth ( ) , getHeight ( ) ) ; g . setColor ( playerNum == 1 ? Color . RED : Color . YELLOW ) ; g . fillOval ( ( getWidth ( ) - size ) / 2 , ( getHeight ( ) - size ) / 2 , size , size ) ; }
fills a simple oval .
