wait for UI to startup completely before loading more classes

This commit is contained in:
Reinhard Pointner 2016-05-28 16:06:27 +08:00
parent a6e44febfd
commit d1691f5718
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ public class Main {
}
// wait for UI to startup completely before loading more classes
Thread.sleep(1000);
Thread.sleep(2000);
// preload media.types (when loaded during DnD it will freeze the UI for a few hundred milliseconds)
MediaTypes.getDefault();