he message is not displayed when I press on tab close, I have the following
public class TabSheetDerecho extends TabSheet implements
CloseHandler {
public TabSheetDerecho(){
setSizeFull();
}
public void agregarTab(Component comp,String caption){
Tab tab=this.addTab(comp, caption, null);
tab.setClosable(true);
}
@Override
public void onTabClose(TabSheet tabsheet, Component tabContent) {
getWindow().showNotification(
"Closed tab: " + tabsheet.getTab(tabContent).getCaption());
tabsheet.removeComponent(tabContent);
}
showNotification message is not displayed???