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

Get the Edge with a Professional Java IDE. 30-day free trial.

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

Get the Java IDE that understands code & makes developing enjoyable. Level up your code with IntelliJ IDEA. Download the free trial.

Topics:

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}