DevFaqHowToOpenURL

How to open a URL in the internal/default HTML browser?

//Use
HtmlBrowser.URLDisplayer.getDefault().showURL() 
//or
HtmlBrowser.URLDisplayer.getDefault().showURLExternal()

See org-openide-awt/org/openide/awt/HtmlBrowser.URLDisplayer.html#HtmlBrowser.URLDisplayer()

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo