private void drawText(final Graphics2D g2d){
  g2d.translate(-getScreenViewX(),-getScreenViewY());
synchronized (texts) {
    Iterator<RemovableSprite> it=texts.iterator();
    while (it.hasNext()) {
      RemovableSprite text=it.next();
      if (!text.shouldBeRemoved()) {
        text.draw(g2d);
      }
 else {
        it.remove();
      }
    }
  }
  g2d.translate(getScreenViewX(),getScreenViewY());
synchronized (staticSprites) {
    Iterator<RemovableSprite> it=staticSprites.iterator();
    while (it.hasNext()) {
      RemovableSprite text=it.next();
      if (!text.shouldBeRemoved()) {
        text.draw(g2d);
      }
 else {
        it.remove();
      }
    }
  }
}

private void drawText ( final Graphics2D g2d ) { g2d . translate ( - getScreenViewX ( ) , - getScreenViewY ( ) ) ; synchronized ( texts ) { Iterator < RemovableSprite > it = texts . iterator ( ) ; while ( it . hasNext ( ) ) { RemovableSprite text = it . next ( ) ; if ( ! text . shouldBeRemoved ( ) ) { text . draw ( g2d ) ; } else { it . remove ( ) ; } } } g2d . translate ( getScreenViewX ( ) , getScreenViewY ( ) ) ; synchronized ( staticSprites ) { Iterator < RemovableSprite > it = staticSprites . iterator ( ) ; while ( it . hasNext ( ) ) { RemovableSprite text = it . next ( ) ; if ( ! text . shouldBeRemoved ( ) ) { text . draw ( g2d ) ; } else { it . remove ( ) ; } } } }
draw the screen text bubbles .
