void prepareViews(Rectangle area){
  visibleViews.clear();
synchronized (views) {
    for (    EntityView<IEntity> view : views) {
      view.applyChanges();
      if (area.intersects(view.getArea())) {
        visibleViews.add(view);
      }
    }
  }
  Collections.sort(visibleViews,entityViewComparator);
}

void prepareViews ( Rectangle area ) { visibleViews . clear ( ) ; synchronized ( views ) { for ( EntityView < IEntity > view : views ) { view . applyChanges ( ) ; if ( area . intersects ( view . getArea ( ) ) ) { visibleViews . add ( view ) ; } } } Collections . sort ( visibleViews , entityViewComparator ) ; }
prepare the entity views for drawing . must be called only from the event dispatch thread .
