boolean shouldEDTSleep(){
  Form current=impl.getCurrentForm();
  return ((current == null || (!current.hasAnimations())) && (animationQueue == null || animationQueue.size() == 0) && inputEventStackPointer == 0 && (!impl.hasPendingPaints()) && hasNoSerialCallsPending() && !keyRepeatCharged && !longPointerCharged) || (isMinimized() && hasNoSerialCallsPending());
}

boolean shouldEDTSleep ( ) { Form current = impl . getCurrentForm ( ) ; return ( ( current == null || ( ! current . hasAnimations ( ) ) ) && ( animationQueue == null || animationQueue . size ( ) == 0 ) && inputEventStackPointer == 0 && ( ! impl . hasPendingPaints ( ) ) && hasNoSerialCallsPending ( ) && ! keyRepeatCharged && ! longPointerCharged ) || ( isMinimized ( ) && hasNoSerialCallsPending ( ) ) ; }
returns true for a case where the edt has nothing at all to do
