- if (e.getEventType() == EventType.ACTIVATED)
- {
- String url=null;
- try
- {
- url = e.getURL().toString();
- Desktop.showUrl(url);
- } catch (Exception x)
- {
- if (url!=null) {
- Cache.log.error("Couldn't handle string "+url+" as a URL.");
- }
- // ignore any exceptions due to dud links.
- }
-
- }