Annotate Components Created Manually

You can annotate a component at the run time by use of the addAnnotation method of the org.zkoss.zk.ui.sys.ComponentCtrl interface.

Listbox listbox = new Listbox();
listbox.addAnnotation("some", null);