package com.vaadin.tests.components.button; import com.vaadin.ui.Button; import com.vaadin.ui.Button.ClickEvent; import com.vaadin.ui.Button.ClickListener; public class Buttons3 extends Buttons2 implements ClickListener { @Override public void buttonClick(ClickEvent event) { event.getButton().setEnabled(true); super.buttonClick(event); } }