Thanks i think with this i can open the link with an external browser. I now only have to figure out how to open it in the external browser. I also saw this thread http://netbeans-org.1045718.n5.nabble.com/External-HTML-Browsers-td3025927.html but that also did not solve my problem.
On 2018/10/22 13:42:01, Martin Barnáš <m...@certicon.cz> wrote: > We had requirement from our customer that browser mustn't be available to users of our application. I dont' think it is possible to remove internal browser completely but I forbid to use it by creating my own implementation of service org.openide.awt.HtmlBrowser.Factory and org.openide.awt.HtmlBrowser.URLDisplayer.> > > > @ServiceProvider(service = HtmlBrowser.Factory.class, position = 0)> > public class HtmlBrowserFactory implements HtmlBrowser.Factory {> > // ...> > }> > > > > @ServiceProvider(service = URLDisplayer.class,> > position = 0,> > supersedes = { "org.netbeans.core.NbURLDisplayer" })> > public class NoOpUrlDisplayer extends URLDisplayer {> > private static final Logger LOG = LoggerFactory.getLogger(NoOpUrlDisplayer.class);> > > @Override> > public void showURL(URL u) {> > LOG.debug("Usage of browser is forbidden.");> > }> > }> > > > ________________________________> > Od: Sven Marquardt <sv...@cbb.de>> > Odesláno: pondělí 22. října 2018 14:35:48> > Komu: users@netbeans.apache.org> > Předmět: Re: [RPC] Disable internal Webbrowser> > > I'm talking about netbeans% --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists