Custom Listener

Hello, Can someone give me a simple example of how I write my own listener? I need to display a notification message in a given situation, and I can´t out of a listener. I appreciate any help.

Best Regards

Here’s the relevant chapters from the Book of Vaadin.

Hope that helps.

Thank you Marlon Richert. I had to read that chapter of listeners, but what really helped was the chapter on notification. I resolved my problem. Again thank you for your help.