To be 100 % sure that the java application has refreshed everything on the screen do I need to call
SunToolkit.realSync()
after
SwingUtilities.invokeAndWait() ?
I'm creating my GUI inside SwingUtilities.invokeAndWait().
I would like to know if invokeAndWait() guarantees the refreshing same as realSync() guarantees.