Ensuring all GUI updates conform to Swing's thread policy.