/**
  * DOCUMENT ME!
  *
  * @param evt DOCUMENT ME!
  */
 private void lstKassenzeichenMouseClicked(final java.awt.event.MouseEvent evt) {
   if (evt.getClickCount() == 2) {
     if (lstKassenzeichen.getSelectedValue() != null) {
       gotoSelectedKassenzeichen();
     }
   }
 }
 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();
   }
 }
示例#3
0
  private void tabelaMouseClicked(
      java.awt.event.MouseEvent evt) { // GEN-FIRST:event_tabelaMouseClicked

    if (evt.getClickCount() == 2) {
      timer.stop();
      JobLote job = modelo.getJob(tabela.convertRowIndexToModel(tabela.getSelectedRow()));
      ViewDGQPCP tela = new ViewDGQPCP(null, true, job, timer);
      tela.setVisible(true);
    }
  } // GEN-LAST:event_tabelaMouseClicked
  // ======================================================
  private void treeMouseClicked(java.awt.event.MouseEvent evt) {
    //	Set selection at mouse position
    TreePath selectedPath = getPathForLocation(evt.getX(), evt.getY());
    if (selectedPath == null) return;
    int mask = evt.getModifiers();

    //  Check button clicked
    if (evt.getClickCount() == 2 && (mask & MouseEvent.BUTTON1_MASK) != 0) {
    } else if ((mask & MouseEvent.BUTTON3_MASK) != 0) {
    }
  }
示例#5
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 objectTableMouseClicked(java.awt.event.MouseEvent evt) {
   if (evt.getClickCount() == 2) {
     editCurrent();
   }
 }
示例#7
0
 private void bookmarksListMouseClicked(
     java.awt.event.MouseEvent evt) { // GEN-FIRST:event_bookmarksListMouseClicked
   if (evt.getClickCount() == 2) {
     gotoButtonActionPerformed(null);
   }
 } // GEN-LAST:event_bookmarksListMouseClicked
 /**
  * DOCUMENT ME!
  *
  * @param evt DOCUMENT ME!
  */
 public void iconContainerMouseClicked(final java.awt.event.MouseEvent evt) {
   if ((evt.getClickCount() > 1) && (evt.getButton() == evt.BUTTON1) && (vali != null)) {
     vali.showAssistent(comp);
   }
 }