We have built a splash screen for our application. It works fine when the initialization of application is in the main thread, but when I move the initialization in EDT (Swi
Load the source data in the doInBackground()
method of a SwingWorker, and publish()
intermediate results; update the GUI component's model in process()
. While data continues to load, initial results will be displayed and the GUI will function nominally. The real time to load data will remain unchanged, but the perceived time will be less.