public BufferedImage load(String path)
    {
        try 
        {
            return ImageIO.read(getClass().getResource(path));
        } 
        catch (IOException ex) 
        {
            System.out.println(ex.getMessage());
        }
        return null;
    }