invalidateLayout
Invalidates layout on the Event Dispatch Thread. When the component tree lock is held, invalidation happens immediately and revalidation runs on the next event-queue turn; otherwise revalidation runs immediately. Pending revalidation is canceled when this node detaches: when it is reused, deactivated, released or moved to another composition, or when its composition is disposed. Does nothing while this node is not attached, which includes a root whose composition is disposed.
Throws
if called off the Event Dispatch Thread.