Click event on a panel

Hi, I’m a bit new to vaadin and I need to know if there is a click event on a panel. The general idea is that when you click on the panel from anywhere, this is maximized. thanks

Try learning about layout click listeners (wrap the Panel inside a CssLayout for instance, and add a click listener to the layout):