@Override public void doLayout(){
  super.doLayout();
  Dimension size=getSize();
  coordinateSystem=new CoordinateSystem(0,size.getWidth(),0,size.getHeight());
  shouldDraw=true;
  recalculateDisplayList();
}

@ Override public void doLayout ( ) { super . doLayout ( ) ; Dimension size = getSize ( ) ; coordinateSystem = new CoordinateSystem ( 0 , size . getWidth ( ) , 0 , size . getHeight ( ) ) ; shouldDraw = true ; recalculateDisplayList ( ) ; }
note ! called from ed thread .
