diff options
Diffstat (limited to 'tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java')
-rw-r--r-- | tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java b/tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java index faced3a..e33d35c 100644 --- a/tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java +++ b/tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java @@ -164,13 +164,9 @@ public abstract class AWTHelper extends RulesFolowingClosingListener implements String test_server_dir_path = System.getProperty("test.server.dir"); - try { - this.marker = ImageIO.read(new File(test_server_dir_path + "/marker.png")); - this.markerPosition = new Point(0,0); - this.markerGiven = true; - } catch (IOException e) { - throw new RuntimeException("AWTHelper could not read marker.png.",e); - } + this.marker = ComponentFinder.defaultIcon; + this.markerPosition = new Point(0,0); + this.markerGiven = true; this.appletWidth = appletWidth; this.appletHeight = appletHeight; |