private void jTable1MouseClicked(java.awt.event.MouseEvent evt) {
   // TODO add your handling code here:
   if (evt.getClickCount() == 2) {
     selected = jTable1.getValueAt(jTable1.getSelectedRow(), 0).toString();
     this.dispose();
   }
 }
예제 #2
0
  private void tabelaMouseClicked(
      java.awt.event.MouseEvent evt) { // GEN-FIRST:event_tabelaMouseClicked

    ajustaTabelaParaMobile();

    if (evt.getClickCount() == 2 && tabela.getSelectedRow() != -1) {

      int indice = tabela.getSelectedRow();
      if (indice != -1) {

        JobLote dados = modelo.getJob(tabela.convertRowIndexToModel(tabela.getSelectedRow()));
        timerTelaExclusao.stop();
        ExclusaoLoteView tela =
            new ExclusaoLoteView(null, true, dados, timerTelaExclusao, jBAtualizar);
        tela.setVisible(true);
      }
    }
  } // GEN-LAST:event_tabelaMouseClicked
 private void tblSubconMouseClicked(
     java.awt.event.MouseEvent evt) { // GEN-FIRST:event_tblSubconMouseClicked
   if (evt.getClickCount() == 1) {
     Tampil();
   } // TODO add your handling code here:
 } // GEN-LAST:event_tblSubconMouseClicked
예제 #4
0
 private void tblmasterMouseClicked(
     java.awt.event.MouseEvent evt) { // GEN-FIRST:event_tblmasterMouseClicked
   if (evt.getClickCount() == 1) {
     Tampil();
   }
 } // GEN-LAST:event_tblmasterMouseClicked