@Override
    public void paintComponent(Graphics g)
    {
        try
        {
            BufferedImage card = ImageIO.read(getClass().getResource(path));
            g.drawImage(card, x, y, null);
        }
        catch (IOException e)
        {
            g.drawString("UNKNOW", x, y);
        }
    }