Application.DoEvents() -> Equivalent function in java?
<p>I know that using threads is more efficient than using c# DoEvents(), but I was still wondering whether there is an equivalent function in java. I googled for it, but I couldn't find anything. </p>

<p>Thank you for your help.</p>
