Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Right click action on com.vaadin.ui.Button
Hello, i have add ContextMenu for ordinary button.
Is there way to set up listener on vaadin's button?
Example :
Table table = new Table();
table.addItemClickListener(new ItemClickEvent.ItemClickListener(){
@Override public void itemClick(ItemClickEvent event) {
//todo something
}
});
Are you perhaps looking for a context menu for a Vaadin Table, as in right-click? You can obtain that information from ItemClickEvent: just do event.getButton() == MouseButton.RIGHT
Yes, i find this component, but only for class Table.
Can i add this component to Button?