public static Image loadImage(String name) {
        String filename = "/images/" + name;
        URL urlImg = ResourceManager.class.getResource(filename);
        return new ImageIcon(urlImg).getImage();
    }