+
+ // Update the URL in urlTextBox with the URL we are intending to load. Because this can be altered during load, the final URL is loaded after the progress bar reaches 100%
+ formattedUrlString = mainWebView.getOriginalUrl();
+ urlTextBox.setText(formattedUrlString);