I am creating a custom ToolbarItemComponent.
I want it to contain a TextEditor and listen to its key presses.
ToolbarItemComponent inherits Button (thus, privately inherits KeyListener).
If I make my custom ToolbarItemComponent also inherit from KeyListerner, I get compilation errors on the MAC (compilation is fine on Windows).
Is there a way to also make it compile under MAC?