Where can I find examples of how to use various APIs?
There are a large number of samples. Many of these correspond to the tutorials. You can find the samples in module platform
in main/misc
repository at hg.netbeans.org
. They are in the samples/
subdirectory.
The platform/samples/
folder can be browsed online here. But for really trying things out it is usually more useful to have a local copy - then you can open them as projects in the IDE.