private void clearBackBuffer(){
  if (backbuffer != null) {
    Graphics2D graphics=backbuffer.createGraphics();
    Color backgroundColor=colorConfiguration.toAWTColor(TextColor.ANSI.DEFAULT,false,false);
    graphics.setColor(backgroundColor);
    graphics.fillRect(0,0,getWidth(),getHeight());
    graphics.dispose();
  }
}

private void clearBackBuffer ( ) { if ( backbuffer != null ) { Graphics2D graphics = backbuffer . createGraphics ( ) ; Color backgroundColor = colorConfiguration . toAWTColor ( TextColor . ANSI . DEFAULT , false , false ) ; graphics . setColor ( backgroundColor ) ; graphics . fillRect ( 0 , 0 , getWidth ( ) , getHeight ( ) ) ; graphics . dispose ( ) ; } }
clears out the back buffer and the resets the visual state so next paint operation will do a full repaint of everything
