Problem: With 6u18, when launching application from cache, the default download window is still displayed. this is bad user experience. when there is no download, download window should not be displayed.
This is caused by all the code refactoring done in 6u18. Now we will delay the actual non-background update check of JAR resources until Launcher.downloadResources is called. And the first thing we do in downloadResources is to show the download window. So this caused the bug.
Fix: In downloadResources, instead of display the download window right the way, we instead set a allowVisible flag for the download window. When there is actual download takes place, we then check this flag to see if download window is allowed and not shown yet. If so, show the window. THis way, when there is no actual download, no download window will be shown.