This appendix is a hodge-podge of useful coding patterns that are common in NetBeans—a cookbook of sorts.
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
In plain Java you would use
NbBundle is similar; it provides better caching mechanisms than ...