I am creating an applet. This applet should take some large chunks of data from db, and this operation is slow ... Therefore, I would like to create a βbootableβ JDialog that will be displayed on top of the applet, while the applet loads data from DB, but it should not block input user in applet.
How to do it? If I create a JDialog that is "setAlwaysOnTop (true)", it will not display on top. If I set it to modal, it will show, but it will not allow my applet to contact the database. I even tried to make this "boot" runnable window and run it from another thread, no luck.
How to make a correct, universal, βloadingβ JDialog for an applet that will NOT be modal, but will always remain on top?
source share