Over a million developers have joined DZone.

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

· Java Zone

Learn more about the advantages of moving from a monolithic to microservices architecture.  Brought to you in partnership with IBM.

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

From Idea to Application gives you the architecture to quickly build, manage and run a range of applications (web, mobile, big data, new smart devices, etc.) on an open-standard, cloud-based platform. See why developers are using IBM Bluemix. Brought to you in partnership with IBM.


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 }}