From: toshihiro Date: Fri, 25 May 2007 06:09:32 +0000 (+0000) Subject: Supress following exception X-Git-Url: http://secure.phpeclipse.com?hp=98ac9f8dcb5100f24e574344e0c4ae73c2a3e5ce 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) --- 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); } }