diff options
| author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2013-06-06 22:20:57 +0100 |
|---|---|---|
| committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2013-06-06 22:20:57 +0100 |
| commit | 7a9b07951a9460b1c221582232daea8a45e077ee (patch) | |
| tree | ebb82f414a4f897b8bfee9124d25faad8745d244 /examples/gnu | |
| parent | 43623e3a6303cc6201f0ebfd151841a2f69b5c11 (diff) | |
| download | classpath-7a9b07951a9460b1c221582232daea8a45e077ee.tar.gz | |
Make resources for AicasGraphicsBenchmark example work within the examples zip.
2013-06-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
* examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
(AicasGraphicsBenchmark()): Use absolute paths
to resources so they work within the zip file.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
Diffstat (limited to 'examples/gnu')
| -rw-r--r-- | examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java b/examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java index 20cd5926e..4903b2ed1 100644 --- a/examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java +++ b/examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java @@ -100,8 +100,8 @@ public class AicasGraphicsBenchmark extends Panel public AicasGraphicsBenchmark() { - pngTestImage = loadImage("../icons/aicas.png"); - gifTestImage = loadImage("../icons/palme.gif"); + pngTestImage = loadImage("/gnu/classpath/examples/icons/aicas.png"); + gifTestImage = loadImage("/gnu/classpath/examples/icons/palme.gif"); setLayout(new BorderLayout()); testLabel = new Label(); |
