I want to add a ToolbarButton in my mainComponent, so, I can click it to set the values of the textEditor which shows in the mainComponent. However,I still can’t create/add it correctly though I had see some steps to add the ToolbarButton like:Example Toolbar with buttons and popup menu.
I tried to add it according the descriptions, but the following errors were prompted:
Unable to open source file;
The ButtonListerner does not a class or structure name.
Can anyone tell me where I did wrong or other way to make it?
Thanks in advance.