String urlString = urlTextField.getText();
if (urlString == null || urlString.trim().length() == 0) {
throw new MalformedURLException("You must specify a url.");
}
new URL(urlString); // may throw MalformedURLException
BrowserLauncherErrorHandler errorHandler = new TestAppErrorHandler(
debugTextArea);
// use browser list if browserListField has data
String browserItems = browserListField.getText();
if (browserItems != null && browserItems.length() > 0) {
logger.debug("using browser list");