Ejemplo n.º 1
0
 public void selectedTabChange(SelectedTabChangeEvent event) {
   if (event.getTabSheet().getSelectedTab() instanceof PbPanel
       && !((PbPanel) event.getTabSheet().getSelectedTab()).isInitialized()) {
     ((PbPanel) event.getTabSheet().getSelectedTab()).initUI();
     ((PbPanel) event.getTabSheet().getSelectedTab()).setInitialized(true);
     ((PbPanel) event.getTabSheet().getSelectedTab()).setSizeFull();
   }
 }
Ejemplo n.º 2
0
 @Override
 public void selectedTabChange(SelectedTabChangeEvent event) {
   final Component tab = event.getTabSheet().getSelectedTab();
   if (tab instanceof HSTab) {
     ((HSTab) tab).fillTable();
   }
 }