Actually that was my first idea. However, for some reason the HyperlinkEvent.getURL() seems to return null for unrecognised schemes. I didn't find any documentation about that observation in the JavaDoc so maybe I should try one more time...