private void peopleTableMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_peopleTableMousePressed
        if(peopleTable.rowAtPoint(evt.getPoint()) == -1){
            personModel.fireTableDataChanged(); 
            //purkkaviritys, koska personTable.clearSelection() 
            //jättää solun valinnan
        }
        
        if(evt.getClickCount() == 2 && peopleTable.getSelectedRow() > -1){
            inspectedPerson = (Person) peopleTable.
                                       getValueAt(peopleTable.
                                       getSelectedRow(), 0);
            updatePersonCard(inspectedPerson);
            navigationStack.push("search");
            cardLayout.show(getContentPane(), "person");
        }
    }//GEN-LAST:event_peopleTableMousePressed