How do I add an action to the Toolbar?

Apache NetBeans Wiki Index

Note: These pages are being reviewed.

The simplest way is to run New Action Wizard (File > New…​ > Module Development > Action) which creates an action for you and registers it in your layer.xml file.