C H A P T E R  8

Tips and Tricks

This chapter will cover two topics of general importance. The first section will introduce you to the possibilities for doing tasks on specific NetBeans Platform lifecyle events. The second section will look at how logging is typically done within a NetBeans Platform application.

Lifecycle of the NetBeans Platform

The NetBeans Platform provides different opportunities to react on certain events of the lifecycle and to trigger them yourself.

Tasks on Starting the Platform

The NetBeans Platform offers an extension point named WarmUp for executing asynchronous tasks when starting applications:

<folder name="WarmUp">    <file name="com-galileo-netbeans-module-MyWarmUpTask.instance"/> </folder>

You can add any ...

Get The Definitive Guide to NetBeans™ Platform 7 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.