I have a SWT Java application with a SWT Browser that is displayed on startup to display the news page of my website to the user, and also so the user can view "live" help files.
However, I need a way to check if internet is not available so I can display a local, offline copy of the help and welcome pages.
On Mac a dialog pops up if there is no internet, stating:
"Page load failed with error: Could not connect to the server."
I'd like to handle this without the popup going to the user (obviously this is annoying to the user) and so I can switch the page when this happens.
Thanks!