public void drawBackground(Graphics g){
  g.fillRect(0,0,getWidth(),getHeight());
}

public void drawBackground ( Graphics g ) { g . fillRect ( 0 , 0 , getWidth ( ) , getHeight ( ) ) ; }
assume that the graphics has been set with the paint / color needed , just render the shape of the background .
