For the above directory structure: BufferedImage im = ImageIO.read(new File(getClass().getResource("/resources/image.jpg").toURI()) ...
確定! 回上一頁