public void mousePressed(MouseEvent e) {
        boolean isFaceUp, hasBeenRemoved;
        String information = "";
        Rectangle cardArea;
        
        Point pressPt = e.getPoint();
        
        for (int i = 0; i < cards.length; i++) {
            cardArea = cards[i].getCardArea();
            if (cards[i].pressPointIsInsideCard(pressPt) || cardArea.contains(pressPt)) {
                isFaceUp = cards[i].getIsFaceUp();
                hasBeenRemoved = cards[i].getHasBeenRemoved();
                information = information + cards[i].toString();
                if (hasBeenRemoved) {
                    cards[i].setIsFaceUp(true);
                    cards[i].setHasBeenRemoved(false);
                    information = information + " has now reappeared";
                } else if (isFaceUp) {
                    cards[i].setIsFaceUp(false);
                    information = information + " is now face down";
                } else {
                    cards[i].setHasBeenRemoved(true);
                    information = information + " has now disappeared";
                }
            }
        }
        
        toStringT.setText(information);
        repaint();
    }