public void doLayout(){
  for (int i=0; i < getComponentCount(); i++) {
    Marker m=(Marker)getComponent(i);
    m.updateLocation();
  }
  listener.caretUpdate(null);
}

public void doLayout ( ) { for ( int i = 0 ; i < getComponentCount ( ) ; i ++ ) { Marker m = ( Marker ) getComponent ( i ) ; m . updateLocation ( ) ; } listener . caretUpdate ( null ) ; }
manually manages layout since this component uses no layout manager .
