Mercurial > hg > Members > tatsuki > Alice
changeset 347:4f534c07d41e
change Image Load path in MakeFrame.java
author | sugi |
---|---|
date | Mon, 21 Apr 2014 19:59:11 +0900 |
parents | d46c42352e4f |
children | 2a8440684441 |
files | src/main/java/alice/test/topology/aquarium/MakeFrame.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/alice/test/topology/aquarium/MakeFrame.java Mon Apr 21 19:57:44 2014 +0900 +++ b/src/main/java/alice/test/topology/aquarium/MakeFrame.java Mon Apr 21 19:59:11 2014 +0900 @@ -56,7 +56,7 @@ BranchGroup scene = new BranchGroup(); BufferedImage img = null; try { - URL url = getClass().getClassLoader().getResource("image1.jpg"); + URL url = getClass().getClassLoader().getResource("image/image1.jpg"); if (url!=null) { img = ImageIO.read(url); } else {