Can I add syntax coloring for my own data object/MIME type?

Apache NetBeans Wiki Index

Note: These pages are being reviewed.

Yes, but it is not trivial. There is a tutorial on the subject:

Applies to: NetBeans 6.7 and later, but most concepts (not the exact APIs) have been available since 6.0