private void updateChildren ( ) { axesPanel . setSize ( getWidth ( ) , getHeight ( ) ) ; plotPanel . setSize ( getWidth ( ) - X_OFFSET_LEFT - X_OFFSET_RIGHT , getHeight ( ) - Y_OFFSET_BOTTOM - Y_OFFSET_TOP ) ; }
Updates the size of the axes curve and event panel . Recomputes the event locations if necessary .