Over a million developers have joined DZone.

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

· Java Zone

Navigate the Maze of the End-User Experience and pick up this APM Essential guide, brought to you in partnership with CA Technologies

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

Thrive in the application economy with an APM model that is strategic. Be E.P.I.C. with CA APM.  Brought to you in partnership with CA Technologies.


Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}