public void setImage(String imageURL) {

        try {
            imageBuff = ImageIO.read(new File(imageURL));
        } catch (IOException e) {
            JOptionPane.showMessageDialog(new JFrame(), "   " + name,
                    " !",
                    JOptionPane.ERROR_MESSAGE);
        }
    }