private void addCardText(Card c, int xPlace, int yPlace, int index, Container container) {
        Insets insets = container.getInsets();
        JLabel text = new JLabel(c.toString());
        container.add(text, index);
        Dimension size = text.getPreferredSize();
        text.setBounds(xPlace + 5 + insets.left, yPlace + 60 + insets.top,
                size.width, size.height);
    }