public void drawScreen(int par1,int par2,float par3){
  if (reinit) {
    initGui();
    reinit=false;
  }
  super.drawScreen(par1,par2,par3);
}

public void drawScreen ( int par1 , int par2 , float par3 ) { if ( reinit ) { initGui ( ) ; reinit = false ; } super . drawScreen ( par1 , par2 , par3 ) ; }
draws the screen and all the components in it .
