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

Learn how to troubleshoot and diagnose some of the most common performance issues in Java today. Brought to you in partnership with AppDynamics.

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

Understand the needs and benefits around implementing the right monitoring solution for a growing containerized market. Brought to you in partnership with AppDynamics.

Topics:

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
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.
Subscribe

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

{{ parent.tldr }}

{{ parent.urlSource.name }}