private void editJMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_editJMenuItemActionPerformed
int selectedRow = contactsJTable.getSelectedRow();
this.setCursor(new java.awt.Cursor(java.awt.Cursor.WAIT_CURSOR));
new NewContactDialog(this, true, new Contact(
(String) contactsJTable.getValueAt(selectedRow, 1),
(String) contactsJTable.getValueAt(selectedRow, 2),
(String) contactsJTable.getValueAt(selectedRow, 3)),
selectedRow);
this.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));