Пример #1
0
  public void stateChanged(ChangeEvent cevt) {

    if (cevt.getSource() == tabbedAbas) {
      if (tabbedAbas.getSelectedIndex() == 1) {
        geraTabTemp();
      }
    }
  }
Пример #2
0
  public void actionPerformed(ActionEvent e) {

    if (e.getSource() == btBuscar) {
      if (tabbedAbas.getSelectedIndex() == 1) {

      } else {
        carregaItens();
      }
    } else if (e.getSource() == btSelectAllDet) {
      selectNecessarios(tabDet);
    } else if (e.getSource() == btDeselectAllDet) {
      deselectAll(tabDet);
    } else if (e.getSource() == btLimparGridDet) {
      limpaNaoSelecionados(tabDet);
    } else if (e.getSource() == btIniProdDet) {
      processaOPS(true);
    }
  }