actually there is no official documentation on how to create custom components in Jaspersoft Studio. Moreover, as you may probably have seen, Jaspersoft Studio is based on Eclipse, while iReport is based on Netbeans. Therefore, you will need to create an Eclipse plugin for it, so you should start looking at how to develop Eclipse plug-ins first.
We are planning to develop a custom wizard in order to allow the user to create the needed skeleton to create a custom component. The same will be for custom data adapters. Somehow it will follow the same idea we implemented with the "Functions Library" wizard, introduced in the last versions.
Unfortunately there is still no timeline for this. Highly probably it will be included in the next major release.
However, you could give a look at how the HTML component is currently implemented in Jaspersoft Studio. I think it's a good candidate from where to start.
Check:
- HTML JR component source code in the demo folder of JasperReports project
- HTML JSS component source code in the plug-in com.jaspersoft.studio.html
Best regards, Massimo.