From 4767269e3485432c1e00ba5fe8e0bf85e489366d Mon Sep 17 00:00:00 2001 From: toshihiro Date: Fri, 25 May 2007 06:09:32 +0000 Subject: [PATCH] Supress following exception >!MESSAGE The image could not be loaded: URLImageDescriptor(bundleentry://16/icons/obj16/frames\frame1.gif) >!STACK 0 >org.eclipse.jface.resource.DeviceResourceException: Unable to create resource URLImageDescriptor(bundleentry://16/icons/obj16/frames\frame1.gif) --- .../webbrowser/internal/ImageResource.java | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/net.sourceforge.phpeclipse.webbrowser/src/net/sourceforge/phpeclipse/webbrowser/internal/ImageResource.java b/net.sourceforge.phpeclipse.webbrowser/src/net/sourceforge/phpeclipse/webbrowser/internal/ImageResource.java index 259085d..04295e8 100644 --- a/net.sourceforge.phpeclipse.webbrowser/src/net/sourceforge/phpeclipse/webbrowser/internal/ImageResource.java +++ b/net.sourceforge.phpeclipse.webbrowser/src/net/sourceforge/phpeclipse/webbrowser/internal/ImageResource.java @@ -1,10 +1,10 @@ /** * Copyright (c) 2003 IBM Corporation and others. - * All rights reserved. � This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - �* + * * Contributors: * IBM - Initial API and implementation */ @@ -193,8 +193,7 @@ public class ImageResource { // busy images busyImages = new Image[13]; for (int i = 0; i < 13; i++) { - registerImage("busy" + i, URL_OBJ + "frames" - + java.io.File.separator + "frame" + (i + 1) + ".gif"); + registerImage("busy" + i, URL_OBJ + "frames/frame" + (i + 1) + ".gif"); busyImages[i] = getImage("busy" + i); } } -- 1.7.1