Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Quick NetBeans Platform Tip 1: Fix External Web Browser in NetBeans Platform Application

DZone's Guide to

Quick NetBeans Platform Tip 1: Fix External Web Browser in NetBeans Platform Application

· Java Zone ·
Free Resource

FlexNet Code Aware, a free scan tool for developers. Scan Java, NuGet, and NPM packages for open source security and open source license compliance issues.

There’s a little annoyance whenever you create a new NetBeans Platform Application project: When you run the aplication and open the Options there’s “Web Browser” at the top of the “General” section. This would be nice if it would work out of the box, but it doesn’t. It shows an empty selection and when you click “edit” you’ll get a NullPointerException. You could hide the panel via the layer if you don’t need it, but most of the time I’d like to have this functionality, and besides that hiding it would also hide the Proxy settings which are on the same tab. And actually fixing this got a lot easier with 6.5.

All you need to do is add “External HTML Browser” from cluster IDE10 to your suite and it will work. Maybe it would be a good idea to move this module into the platform cluster. maybe together with Navigator API which is also quite useful ( even if it’s only to get the WindowSystem mode working :-) ).

From http://eppleton.sharedhost.de/blog

 Scan Java, NuGet, and NPM packages for open source security and license compliance issues. 

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}