class GephiURLDisplayer extends URLDisplayer {

    @Override
    public void showURL(URL u) {
        showURLExternal(u);
    }

    @Override
    public void showURLExternal(URL u) {<FILL_FUNCTION_BODY>}
}

        if (Desktop.isDesktopSupported()) {
            Desktop d = Desktop.getDesktop();
            if (d.isSupported(Desktop.Action.BROWSE)) {
                try {
                    d.browse(u.toURI());
                } catch (Throwable x) {
                    Exceptions.printStackTrace(x);
                }
            }
        } else {
            Logger.getLogger("").log(Level.WARNING, "Cannot open default browser with URL {0}", u);
        }
    
<no_super_class>