O'Reilly logo

Rich Client Programming: Plugging into the NetBeans Platform by Geertjan Wielenga, Jaroslav Tulach, Tim Boudreau

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix BCommon Idioms and Code Patterns in NetBeans

This appendix is a hodge-podge of useful coding patterns that are common in NetBeans—a cookbook of sorts.

B.1. Things You Do Differently in NetBeans Than in Plain Swing Code

There are some code idioms in NetBeans modules that need to be done differently than in a regular Swing application—either because there are convenience helper classes or, in some cases, because the code in question should work with NetBeans module classloaders or branding infrastructure.

Getting a localized string

image

In plain Java you would use ResourceBundle. NbBundle is similar; it provides better caching mechanisms than ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required