private void movieTableMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_movieTableMousePressed
        if(movieTable.rowAtPoint(evt.getPoint()) == -1){
            movieModel.fireTableDataChanged();
            //purkkaviritys, koska movieTable.clearSelection() 
            //jättää solun valinnan
        }
             
        if(evt.getClickCount() == 2 && movieTable.getSelectedRow() > -1){
            inspectedMovie = (Movie) movieTable.
                                     getValueAt(movieTable.
                                     getSelectedRow(), 0);
            updateMovieCard(inspectedMovie);
            navigationStack.push("search");
            cardLayout.show(getContentPane(), "movie");
        }
    }//GEN-LAST:event_movieTableMousePressed